Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001831/0.001831, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001919/0.001919, allocations: 212.3 kB / 22.24 MB, free: 5.262 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.553/1.553, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.399/3.399, allocations: 0.4892 GB / 0.7943 GB, free: 35.61 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.002211/0.002211, allocations: 66.77 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4588/0.461, allocations: 176.1 MB / 1.326 GB, free: 1.875 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.00335/0.4644, allocations: 0.722 MB / 1.326 GB, free: 1.16 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002619/0.467, allocations: 1.163 MB / 1.327 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.625e-05/0.4671, allocations: 8 kB / 1.327 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.568e-05/0.4671, allocations: 7.922 kB / 1.327 GB, free: 15.97 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001112/0.4672, allocations: 7.875 kB / 1.327 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007979/0.468, allocations: 148.9 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002952/0.4683, allocations: 111.8 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.4685, allocations: 8 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001754/0.4686, allocations: 51.89 kB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001465/0.4688, allocations: 35.83 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.435e-05/0.4688, allocations: 16 kB / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001064/0.4689, allocations: 23.98 kB / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.06e-05/0.469, allocations: 15.97 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.047e-05/0.4691, allocations: 35.86 kB / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002991/0.4694, allocations: 115.5 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.4694, allocations: 4 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.563e-06/0.4694, allocations: 0 / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.682e-06/0.4694, allocations: 0 / 1.328 GB, free: 15.41 MB / 1.029 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.0008711/0.4702, allocations: 337 kB / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.323e-05/0.4703, allocations: 8.031 kB / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.937e-05/0.4704, allocations: 16.89 kB / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001508/0.4706, allocations: 114.4 kB / 1.328 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.114e-05/0.4706, allocations: 12.36 kB / 1.328 GB, free: 14.87 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.447e-05/0.4706, allocations: 8.375 kB / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002996/0.4709, allocations: 66.22 kB / 1.328 GB, free: 14.79 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.4709, allocations: 192 / 1.328 GB, free: 14.79 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.017e-05/0.471, allocations: 7.922 kB / 1.328 GB, free: 14.79 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.002e-06/0.471, allocations: 3.938 kB / 1.328 GB, free: 14.78 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002807/0.4712, allocations: 43.95 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007526/0.472, allocations: 248.5 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002678/0.4723, allocations: 58.55 kB / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000166/0.4724, allocations: 44.83 kB / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.748e-05/0.4724, allocations: 0 / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003668/0.4728, allocations: 87.31 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 2.294e-06/0.4728, allocations: 4 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0006699/0.4735, allocations: 141.6 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.913e-05/0.4736, allocations: 55.41 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001534/0.4737, allocations: 121.8 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.873e-05/0.4738, allocations: 37.64 kB / 1.329 GB, free: 13.87 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.4739, allocations: 88.14 kB / 1.329 GB, free: 13.78 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.105e-05/0.4739, allocations: 23.83 kB / 1.329 GB, free: 13.75 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001123/0.474, allocations: 33.7 kB / 1.329 GB, free: 13.71 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000204/0.4742, allocations: 326.8 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002811/0.4745, allocations: 77.67 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003265/0.4748, allocations: 118 kB / 1.33 GB, free: 13.17 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004838/0.4753, allocations: 141.9 kB / 1.33 GB, free: 13.01 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.4753, allocations: 4 kB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0007447/0.4761, allocations: 248.8 kB / 1.33 GB, free: 12.74 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.071e-05/0.4761, allocations: 37.69 kB / 1.33 GB, free: 12.7 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.4761, allocations: 0 / 1.33 GB, free: 12.7 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.106e-05/0.4762, allocations: 4 kB / 1.33 GB, free: 12.7 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/0.4763, allocations: 8 kB / 1.33 GB, free: 12.69 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.286e-05/0.4763, allocations: 8.047 kB / 1.33 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002904/0.4766, allocations: 39.92 kB / 1.33 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.62e-05/0.4766, allocations: 11.98 kB / 1.33 GB, free: 12.63 MB / 1.029 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.0001657/0.4768, allocations: 122.3 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.338e-05/0.4768, allocations: 3.953 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.37e-05/0.4768, allocations: 12.38 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.4768, allocations: 0 / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/0.4769, allocations: 0 / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.4769, allocations: 4 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00073/0.4776, allocations: 322.4 kB / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.4776, allocations: 0 / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.266e-05/0.4777, allocations: 11.98 kB / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.4777, allocations: 0 / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.4777, allocations: 0 / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.75e-06/0.4777, allocations: 4.062 kB / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/0.4777, allocations: 7.984 kB / 1.331 GB, free: 12.1 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004871/0.4782, allocations: 211.3 kB / 1.331 GB, free: 11.88 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.589e-05/0.4782, allocations: 19.81 kB / 1.331 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.465e-05/0.4782, allocations: 0 / 1.331 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001467/0.4784, allocations: 4 kB / 1.331 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.158e-05/0.4784, allocations: 11.98 kB / 1.331 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.678e-06/0.4785, allocations: 3.938 kB / 1.331 GB, free: 11.84 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.644e-05/0.4785, allocations: 95.27 kB / 1.331 GB, free: 11.75 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4785, allocations: 0 / 1.331 GB, free: 11.75 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004846/0.479, allocations: 24 kB / 1.331 GB, free: 11.72 MB / 1.029 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.0001985/0.4792, allocations: 103.2 kB / 1.331 GB, free: 11.61 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006199/0.4798, allocations: 196.9 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.4799, allocations: 0 / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001871/0.48, allocations: 39.89 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004591/0.4805, allocations: 22.98 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000545/0.481, allocations: 158.8 kB / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.935e-05/0.4811, allocations: 67.34 kB / 1.332 GB, free: 11.07 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.089e-05/0.4812, allocations: 7.984 kB / 1.332 GB, free: 11.07 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.199e-05/0.4812, allocations: 11.44 kB / 1.332 GB, free: 11.05 MB / 1.029 GB Notification: Performance of SimCode: time 3.41e-07/0.4812, allocations: 0 / 1.332 GB, free: 11.05 MB / 1.029 GB Notification: Performance of Templates: time 0.006798/0.488, allocations: 1.612 MB / 1.333 GB, free: 9.473 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Change.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.779925029724836]