Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001892/0.001892, allocations: 119.5 kB / 17.13 MB, free: 5.758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001907/0.001907, allocations: 191.7 kB / 20.08 MB, free: 2.848 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 225.6 MB / 248.5 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.544/2.544, allocations: 443.5 MB / 0.7293 GB, free: 14.46 MB / 0.5762 GB " [Timeout remaining time 177] 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.Logical.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|change.u|change.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|change.u|change.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 71.89 kB / 1.057 GB, free: 1.863 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3499/0.3519, allocations: 160.7 MB / 1.214 GB, free: 0.832 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.00211/0.354, allocations: 0.753 MB / 1.215 GB, free: 72 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001641/0.3556, allocations: 1.144 MB / 1.216 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.239e-05/0.3557, allocations: 0 / 1.216 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.548e-05/0.3557, allocations: 3.938 kB / 1.216 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.637e-05/0.3558, allocations: 27.84 kB / 1.216 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005395/0.3563, allocations: 127.3 kB / 1.216 GB, free: 14.76 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002051/0.3565, allocations: 123.8 kB / 1.216 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.282e-05/0.3566, allocations: 11.94 kB / 1.216 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.254e-05/0.3567, allocations: 43.91 kB / 1.216 GB, free: 14.58 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000109/0.3568, allocations: 47.86 kB / 1.216 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.937e-05/0.3568, allocations: 12 kB / 1.216 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.563e-05/0.3569, allocations: 23.98 kB / 1.216 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.174e-05/0.357, allocations: 11.94 kB / 1.216 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.628e-05/0.357, allocations: 43.84 kB / 1.216 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002007/0.3572, allocations: 119.6 kB / 1.217 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.3572, allocations: 0 / 1.217 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.432e-06/0.3572, allocations: 0 / 1.217 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.017e-05/0.3572, allocations: 3.938 kB / 1.217 GB, free: 14.32 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.000689/0.3579, allocations: 412.8 kB / 1.217 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.358, allocations: 8.031 kB / 1.217 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.506e-05/0.358, allocations: 12.94 kB / 1.217 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001599/0.3582, allocations: 176.3 kB / 1.217 GB, free: 13.63 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.3582, allocations: 8.312 kB / 1.217 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.707e-05/0.3582, allocations: 8.359 kB / 1.217 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002023/0.3584, allocations: 62.23 kB / 1.217 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.3584, allocations: 8.109 kB / 1.217 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.3585, allocations: 3.938 kB / 1.217 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.3585, allocations: 0 / 1.217 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001867/0.3586, allocations: 47.95 kB / 1.217 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005189/0.3592, allocations: 328.7 kB / 1.218 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002008/0.3594, allocations: 62.48 kB / 1.218 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/0.3595, allocations: 28.97 kB / 1.218 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.351e-05/0.3595, allocations: 4 kB / 1.218 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002518/0.3597, allocations: 87.36 kB / 1.218 GB, free: 12.92 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.292e-06/0.3597, allocations: 0 / 1.218 GB, free: 12.92 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.0004714/0.3602, allocations: 145.5 kB / 1.218 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.725e-05/0.3603, allocations: 55.41 kB / 1.218 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/0.3604, allocations: 121.8 kB / 1.218 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.12e-05/0.3604, allocations: 29.7 kB / 1.218 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.642e-05/0.3605, allocations: 92.12 kB / 1.218 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.809e-05/0.3605, allocations: 23.92 kB / 1.218 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.96e-05/0.3606, allocations: 41.7 kB / 1.218 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.3607, allocations: 314.8 kB / 1.219 GB, free: 12.06 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001693/0.3609, allocations: 59.95 kB / 1.219 GB, free: 12 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000189/0.3611, allocations: 84.2 kB / 1.219 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002931/0.3614, allocations: 149.8 kB / 1.219 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.3614, allocations: 0 / 1.219 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000487/0.3619, allocations: 211.1 kB / 1.219 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.162e-05/0.3619, allocations: 33.7 kB / 1.219 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.3619, allocations: 0 / 1.219 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.3619, allocations: 4.125 kB / 1.219 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.04e-05/0.362, allocations: 11.98 kB / 1.219 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.814e-06/0.362, allocations: 8.25 kB / 1.219 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002162/0.3623, allocations: 39.89 kB / 1.219 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.312e-05/0.3623, allocations: 8 kB / 1.219 GB, free: 11.41 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,change.y,change.u,$PRE.change.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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.0001069/0.3624, allocations: 120.2 kB / 1.219 GB, free: 11.28 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.848e-05/0.3624, allocations: 15.94 kB / 1.219 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.078e-05/0.3624, allocations: 12.38 kB / 1.219 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.3624, allocations: 0 / 1.219 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3624, allocations: 0 / 1.219 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.165e-06/0.3624, allocations: 0 / 1.219 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005291/0.363, allocations: 378.4 kB / 1.22 GB, free: 10.83 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.363, allocations: 0 / 1.22 GB, free: 10.83 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.065e-05/0.363, allocations: 16.05 kB / 1.22 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.363, allocations: 11.94 kB / 1.22 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.363, allocations: 0 / 1.22 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.363, allocations: 0 / 1.22 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.363, allocations: 0 / 1.22 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003199/0.3634, allocations: 215.3 kB / 1.22 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.694e-05/0.3634, allocations: 81.06 kB / 1.22 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.064e-05/0.3634, allocations: 12 kB / 1.22 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.507e-05/0.3635, allocations: 7.984 kB / 1.22 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.367e-05/0.3636, allocations: 3.984 kB / 1.22 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.407e-05/0.3636, allocations: 11.92 kB / 1.22 GB, free: 10.44 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.886e-05/0.3636, allocations: 95.22 kB / 1.22 GB, free: 10.35 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3636, allocations: 0 / 1.22 GB, free: 10.35 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000264/0.3639, allocations: 27.92 kB / 1.22 GB, free: 10.32 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: 7 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001701/0.3641, allocations: 103.2 kB / 1.22 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004085/0.3645, allocations: 167.3 kB / 1.22 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3645, allocations: 0 / 1.22 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001232/0.3646, allocations: 35.91 kB / 1.22 GB, free: 10 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002749/0.3649, allocations: 12 kB / 1.22 GB, free: 9.988 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004319/0.3653, allocations: 196.5 kB / 1.221 GB, free: 9.762 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003287/0.3656, allocations: 0.6846 MB / 1.221 GB, free: 9.051 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.126e-05/0.3657, allocations: 11.44 kB / 1.221 GB, free: 9.039 MB / 0.9669 GB Notification: Performance of SimCode: time 3.51e-07/0.3657, allocations: 0 / 1.221 GB, free: 9.039 MB / 0.9669 GB Notification: Performance of Templates: time 0.003262/0.3689, allocations: 1.26 MB / 1.222 GB, free: 7.789 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Change.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.189101019874215]