Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 103.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 193.9 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.504/1.504, allocations: 225.6 MB / 249.9 MB, free: 3.227 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.615/2.615, allocations: 443.5 MB / 0.731 GB, free: 13.95 MB / 0.5762 GB [Timeout remaining time 87] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Switch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=506,variableFilter="time|switch1.u1|switch1.u2|switch1.u3|switch1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Switch") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Switch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=506,variableFilter="time|switch1.u1|switch1.u2|switch1.u3|switch1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Switch") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 67.89 kB / 1.06 GB, free: 484 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3178/0.3198, allocations: 160.7 MB / 1.217 GB, free: 15.45 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Switch): time 0.002121/0.3219, allocations: 0.7965 MB / 1.217 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001574/0.3235, allocations: 1.152 MB / 1.218 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.489e-05/0.3235, allocations: 0 / 1.218 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.208e-05/0.3235, allocations: 15.86 kB / 1.219 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.18e-05/0.3236, allocations: 11.88 kB / 1.219 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005284/0.3242, allocations: 143 kB / 1.219 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000202/0.3244, allocations: 127.7 kB / 1.219 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.639e-05/0.3245, allocations: 8 kB / 1.219 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001049/0.3246, allocations: 55.88 kB / 1.219 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001253/0.3247, allocations: 55.75 kB / 1.219 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.182e-05/0.3247, allocations: 12 kB / 1.219 GB, free: 13.06 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.798e-05/0.3248, allocations: 27.92 kB / 1.219 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.543e-05/0.3248, allocations: 8 kB / 1.219 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.917e-05/0.3249, allocations: 51.83 kB / 1.219 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002101/0.3251, allocations: 119.6 kB / 1.219 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.3251, allocations: 0 / 1.219 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3251, allocations: 0 / 1.219 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.77e-06/0.3251, allocations: 0 / 1.219 GB, free: 12.86 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007415/0.3259, allocations: 436.7 kB / 1.22 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.3259, allocations: 8.031 kB / 1.22 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.231e-05/0.3259, allocations: 8.891 kB / 1.22 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000159/0.3261, allocations: 168.3 kB / 1.22 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.3261, allocations: 8.375 kB / 1.22 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.093e-05/0.3262, allocations: 12.38 kB / 1.22 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002671/0.3264, allocations: 86.11 kB / 1.22 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.3264, allocations: 192 / 1.22 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.3264, allocations: 3.938 kB / 1.22 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-06/0.3264, allocations: 0 / 1.22 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002939/0.3267, allocations: 71.92 kB / 1.22 GB, free: 11.97 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005044/0.3272, allocations: 324.7 kB / 1.22 GB, free: 11.6 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001979/0.3274, allocations: 62.47 kB / 1.22 GB, free: 11.53 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000157/0.3276, allocations: 48.91 kB / 1.22 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.191e-05/0.3276, allocations: 0 / 1.22 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002618/0.3279, allocations: 91.36 kB / 1.22 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=6): time 1.032e-06/0.3279, allocations: 0 / 1.22 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.0006089/0.3285, allocations: 169.6 kB / 1.221 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.585e-05/0.3285, allocations: 55.41 kB / 1.221 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.3287, allocations: 118.1 kB / 1.221 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.794e-05/0.3287, allocations: 29.7 kB / 1.221 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.247e-05/0.3288, allocations: 96.08 kB / 1.221 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.22e-05/0.3288, allocations: 15.91 kB / 1.221 GB, free: 10.87 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.257e-05/0.3289, allocations: 33.7 kB / 1.221 GB, free: 10.83 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001601/0.329, allocations: 326.8 kB / 1.221 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002153/0.3292, allocations: 60.09 kB / 1.221 GB, free: 10.44 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002192/0.3295, allocations: 82.5 kB / 1.221 GB, free: 10.35 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003718/0.3298, allocations: 148.1 kB / 1.221 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3298, allocations: 0 / 1.221 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005564/0.3304, allocations: 215.3 kB / 1.222 GB, free: 9.969 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.542e-05/0.3304, allocations: 43.2 kB / 1.222 GB, free: 9.922 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.3304, allocations: 4 kB / 1.222 GB, free: 9.918 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.3305, allocations: 0 / 1.222 GB, free: 9.918 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/0.3306, allocations: 19.97 kB / 1.222 GB, free: 9.898 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.3306, allocations: 0 / 1.222 GB, free: 9.898 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002273/0.3308, allocations: 43.95 kB / 1.222 GB, free: 9.855 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.081e-05/0.3308, allocations: 7.938 kB / 1.222 GB, free: 9.848 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001216/0.331, allocations: 125.7 kB / 1.222 GB, free: 9.715 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.6e-05/0.331, allocations: 7.953 kB / 1.222 GB, free: 9.707 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.012e-05/0.331, allocations: 12.36 kB / 1.222 GB, free: 9.695 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.331, allocations: 0 / 1.222 GB, free: 9.695 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.331, allocations: 0 / 1.222 GB, free: 9.695 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.331, allocations: 0 / 1.222 GB, free: 9.695 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000178/0.3312, allocations: 181.6 kB / 1.222 GB, free: 9.469 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.3312, allocations: 4 kB / 1.222 GB, free: 9.465 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001064/0.3313, allocations: 19.97 kB / 1.222 GB, free: 9.445 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3313, allocations: 0 / 1.222 GB, free: 9.445 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.3313, allocations: 4 kB / 1.222 GB, free: 9.441 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.3313, allocations: 4.078 kB / 1.222 GB, free: 9.438 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.3313, allocations: 3.984 kB / 1.222 GB, free: 9.434 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003918/0.3317, allocations: 156.9 kB / 1.222 GB, free: 9.262 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.243e-05/0.3318, allocations: 81.06 kB / 1.222 GB, free: 9.164 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.587e-05/0.3318, allocations: 0 / 1.222 GB, free: 9.164 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.582e-05/0.3319, allocations: 19.97 kB / 1.222 GB, free: 9.145 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.844e-05/0.3319, allocations: 7.984 kB / 1.222 GB, free: 9.137 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.3319, allocations: 4.125 kB / 1.222 GB, free: 9.133 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.48e-05/0.332, allocations: 99.14 kB / 1.222 GB, free: 9.039 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9.1e-08/0.332, allocations: 4 kB / 1.222 GB, free: 9.035 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000222/0.3322, allocations: 24 kB / 1.223 GB, free: 9.012 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001866/0.3324, allocations: 104.5 kB / 1.223 GB, free: 8.902 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004949/0.3329, allocations: 179.2 kB / 1.223 GB, free: 8.715 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3329, allocations: 4.125 kB / 1.223 GB, free: 8.711 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001784/0.3331, allocations: 43.97 kB / 1.223 GB, free: 8.668 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002329/0.3333, allocations: 19.92 kB / 1.223 GB, free: 8.648 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004274/0.3337, allocations: 191.5 kB / 1.223 GB, free: 8.426 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000324/0.3341, allocations: 0.6924 MB / 1.224 GB, free: 7.707 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.656e-05/0.3341, allocations: 15.38 kB / 1.224 GB, free: 7.691 MB / 0.9669 GB Notification: Performance of SimCode: time 3.91e-07/0.3341, allocations: 3.938 kB / 1.224 GB, free: 7.688 MB / 0.9669 GB Notification: Performance of Templates: time 0.003104/0.3372, allocations: 1.311 MB / 1.225 GB, free: 6.391 MB / 0.9669 GB [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Switch -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Switch_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Switch.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches