Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001826/0.001826, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002373/0.002373, allocations: 215.6 kB / 23.01 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.513/1.513, allocations: 230.6 MB / 256.8 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.332/3.332, allocations: 0.505 GB / 0.8108 GB, free: 22.06 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002351/0.002351, allocations: 63.36 kB / 1.178 GB, free: 16.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3446/0.347, allocations: 180.2 MB / 1.354 GB, free: 7.945 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.00197/0.349, allocations: 0.7481 MB / 1.355 GB, free: 7.199 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001574/0.3505, allocations: 1.178 MB / 1.356 GB, free: 6.008 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.97e-05/0.3506, allocations: 0 / 1.356 GB, free: 6.008 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.102e-05/0.3506, allocations: 7.922 kB / 1.356 GB, free: 6 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.99e-05/0.3507, allocations: 15.88 kB / 1.356 GB, free: 5.984 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004823/0.3512, allocations: 138.5 kB / 1.356 GB, free: 5.852 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001846/0.3513, allocations: 115.8 kB / 1.356 GB, free: 5.738 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 8.977e-05/0.3514, allocations: 11.94 kB / 1.356 GB, free: 5.727 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.3515, allocations: 51.89 kB / 1.356 GB, free: 5.676 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001084/0.3516, allocations: 43.83 kB / 1.356 GB, free: 5.633 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.054e-05/0.3517, allocations: 12 kB / 1.356 GB, free: 5.621 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 7.747e-05/0.3517, allocations: 23.98 kB / 1.356 GB, free: 5.598 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.878e-05/0.3518, allocations: 19.91 kB / 1.356 GB, free: 5.578 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 7.716e-05/0.3519, allocations: 39.86 kB / 1.356 GB, free: 5.539 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001946/0.352, allocations: 111.6 kB / 1.357 GB, free: 5.43 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3521, allocations: 0 / 1.357 GB, free: 5.43 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.512e-06/0.3521, allocations: 0 / 1.357 GB, free: 5.43 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.3521, allocations: 4 kB / 1.357 GB, free: 5.426 MB / 1.045 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.0006367/0.3527, allocations: 341.3 kB / 1.357 GB, free: 5.055 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.3527, allocations: 8.031 kB / 1.357 GB, free: 5.047 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.36e-05/0.3528, allocations: 8.891 kB / 1.357 GB, free: 5.039 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/0.3529, allocations: 118.4 kB / 1.357 GB, free: 4.898 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.3529, allocations: 8.375 kB / 1.357 GB, free: 4.891 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.096e-05/0.3529, allocations: 12.36 kB / 1.357 GB, free: 4.879 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002017/0.3531, allocations: 70.2 kB / 1.357 GB, free: 4.805 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.3531, allocations: 192 / 1.357 GB, free: 4.805 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/0.3532, allocations: 3.938 kB / 1.357 GB, free: 4.801 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.3532, allocations: 4 kB / 1.357 GB, free: 4.797 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001782/0.3533, allocations: 39.89 kB / 1.357 GB, free: 4.758 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005138/0.3539, allocations: 303.8 kB / 1.357 GB, free: 4.418 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001851/0.354, allocations: 66.55 kB / 1.357 GB, free: 4.344 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001046/0.3542, allocations: 24.97 kB / 1.358 GB, free: 4.316 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.07e-05/0.3542, allocations: 4 kB / 1.358 GB, free: 4.312 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002231/0.3544, allocations: 91.3 kB / 1.358 GB, free: 4.211 MB / 1.045 GB Notification: Performance of pre-optimization done (n=8): time 1.433e-06/0.3544, allocations: 0 / 1.358 GB, free: 4.211 MB / 1.045 GB Notification: Performance of matching and sorting (n=8): time 0.0004462/0.3548, allocations: 141.6 kB / 1.358 GB, free: 4.066 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.392e-05/0.3549, allocations: 59.39 kB / 1.358 GB, free: 3.996 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.355, allocations: 113.8 kB / 1.358 GB, free: 3.875 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.255e-05/0.355, allocations: 29.7 kB / 1.358 GB, free: 3.84 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.131e-05/0.3551, allocations: 92.12 kB / 1.358 GB, free: 3.746 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.619e-05/0.3551, allocations: 27.8 kB / 1.358 GB, free: 3.719 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.48e-05/0.3552, allocations: 37.7 kB / 1.358 GB, free: 3.676 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.3553, allocations: 318.8 kB / 1.358 GB, free: 3.355 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001689/0.3555, allocations: 47.97 kB / 1.358 GB, free: 3.309 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001862/0.3557, allocations: 92.62 kB / 1.359 GB, free: 3.203 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002803/0.3559, allocations: 153.8 kB / 1.359 GB, free: 3.031 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3559, allocations: 0 / 1.359 GB, free: 3.031 MB / 1.045 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000464/0.3564, allocations: 211.5 kB / 1.359 GB, free: 2.812 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.05e-05/0.3564, allocations: 37.64 kB / 1.359 GB, free: 2.77 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/0.3565, allocations: 7.984 kB / 1.359 GB, free: 2.762 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.3565, allocations: 0 / 1.359 GB, free: 2.762 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.662e-05/0.3566, allocations: 11.98 kB / 1.359 GB, free: 2.75 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.849e-06/0.3566, allocations: 4 kB / 1.359 GB, free: 2.746 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002033/0.3568, allocations: 36.08 kB / 1.359 GB, free: 2.711 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.165e-05/0.3568, allocations: 11.94 kB / 1.359 GB, free: 2.699 MB / 1.045 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.0001078/0.3569, allocations: 130.3 kB / 1.359 GB, free: 2.562 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.698e-05/0.3569, allocations: 11.89 kB / 1.359 GB, free: 2.551 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.664e-05/0.357, allocations: 12.42 kB / 1.359 GB, free: 2.539 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.357, allocations: 8 kB / 1.359 GB, free: 2.531 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.357, allocations: 0 / 1.359 GB, free: 2.531 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.357, allocations: 0 / 1.359 GB, free: 2.531 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004662/0.3574, allocations: 341.6 kB / 1.359 GB, free: 2.148 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3574, allocations: 0 / 1.359 GB, free: 2.148 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.857e-05/0.3575, allocations: 15.92 kB / 1.359 GB, free: 2.133 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.3575, allocations: 0 / 1.359 GB, free: 2.133 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.205e-06/0.3575, allocations: 0 / 1.359 GB, free: 2.133 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.3575, allocations: 0 / 1.359 GB, free: 2.133 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.3575, allocations: 3.984 kB / 1.359 GB, free: 2.129 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003094/0.3578, allocations: 219.4 kB / 1.36 GB, free: 1.898 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.237e-05/0.3578, allocations: 7.891 kB / 1.36 GB, free: 1.891 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.3579, allocations: 4 kB / 1.36 GB, free: 1.887 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.027e-05/0.3579, allocations: 11.98 kB / 1.36 GB, free: 1.875 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.735e-05/0.358, allocations: 0 / 1.36 GB, free: 1.875 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.219e-05/0.358, allocations: 11.92 kB / 1.36 GB, free: 1.863 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.999e-05/0.3581, allocations: 95.33 kB / 1.36 GB, free: 1.77 MB / 1.045 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3581, allocations: 0 / 1.36 GB, free: 1.77 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000259/0.3583, allocations: 24 kB / 1.36 GB, free: 1.746 MB / 1.045 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.0001355/0.3584, allocations: 105.5 kB / 1.36 GB, free: 1.637 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003856/0.3588, allocations: 159.3 kB / 1.36 GB, free: 1.469 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.3588, allocations: 8.25 kB / 1.36 GB, free: 1.461 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001245/0.359, allocations: 39.95 kB / 1.36 GB, free: 1.422 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002847/0.3592, allocations: 12 kB / 1.36 GB, free: 1.41 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003859/0.3596, allocations: 184.5 kB / 1.36 GB, free: 1.191 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003092/0.3599, allocations: 0.6884 MB / 1.361 GB, free: 488 kB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.331e-05/0.36, allocations: 15.44 kB / 1.361 GB, free: 472 kB / 1.045 GB Notification: Performance of SimCode: time 2.81e-07/0.36, allocations: 0 / 1.361 GB, free: 472 kB / 1.045 GB Notification: Performance of Templates: time 0.003179/0.3632, allocations: 1.268 MB / 1.362 GB, free: 15.2 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Change.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.56053948099725]