Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008279/0.0008279, allocations: 76.55 kB / 19.93 MB, free: 4.637 MB / 18.57 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.0008682/0.0008682, allocations: 177.9 kB / 23.22 MB, free: 1.352 MB / 18.57 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 0.8677/0.8677, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.637/1.637, allocations: 359 MB / 0.6044 GB, free: 11.07 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.504e-06/2.504e-06, allocations: 0 / 0.9517 GB, free: 2.949 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.868e-05/3.119e-05, allocations: 5.375 kB / 0.9517 GB, free: 2.945 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.001371/0.001403, allocations: 0.7403 MB / 0.9525 GB, free: 2.199 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001133/0.002535, allocations: 1.175 MB / 0.9536 GB, free: 1.012 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.423e-05/0.00258, allocations: 0 / 0.9536 GB, free: 1.012 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.666e-05/0.002606, allocations: 3.938 kB / 0.9536 GB, free: 1.008 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.017e-05/0.002667, allocations: 15.86 kB / 0.9536 GB, free: 0.9922 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004294/0.003096, allocations: 136.8 kB / 0.9538 GB, free: 0.8594 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001424/0.003238, allocations: 119.7 kB / 0.9539 GB, free: 0.7422 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 8.947e-05/0.003328, allocations: 11.98 kB / 0.9539 GB, free: 0.7305 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001/0.003428, allocations: 67.88 kB / 0.954 GB, free: 0.6641 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 7.141e-05/0.003499, allocations: 31.95 kB / 0.954 GB, free: 0.6328 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.093e-05/0.00352, allocations: 12 kB / 0.954 GB, free: 0.6211 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 5.473e-05/0.003575, allocations: 19.98 kB / 0.954 GB, free: 0.6016 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.116e-05/0.003596, allocations: 11.92 kB / 0.954 GB, free: 0.5898 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 4.597e-05/0.003642, allocations: 31.97 kB / 0.9541 GB, free: 0.5586 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001647/0.003807, allocations: 135.6 kB / 0.9542 GB, free: 436 kB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.003809, allocations: 4 kB / 0.9542 GB, free: 432 kB / 0.9011 GB Notification: Performance of FrontEnd: time 9.12e-07/0.00381, allocations: 0 / 0.9542 GB, free: 432 kB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.917e-06/0.003814, allocations: 0 / 0.9542 GB, free: 432 kB / 0.9011 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.0004093/0.004223, allocations: 335.8 kB / 0.9545 GB, free: 56 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.129e-05/0.004254, allocations: 11.97 kB / 0.9545 GB, free: 44 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.586e-05/0.0043, allocations: 12.89 kB / 0.9545 GB, free: 32 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.5e-05/0.004385, allocations: 121.6 kB / 0.9546 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.004398, allocations: 8.359 kB / 0.9547 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.661e-05/0.004415, allocations: 8.375 kB / 0.9547 GB, free: 15.87 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000126/0.004541, allocations: 62.23 kB / 0.9547 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.004547, allocations: 192 / 0.9547 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.004559, allocations: 8.359 kB / 0.9547 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.004564, allocations: 384 / 0.9547 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.349e-05/0.004657, allocations: 43.89 kB / 0.9548 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003609/0.005018, allocations: 264.3 kB / 0.955 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001134/0.005132, allocations: 58.61 kB / 0.9551 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.258e-05/0.005184, allocations: 28.97 kB / 0.9551 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 9.257e-06/0.005194, allocations: 0 / 0.9551 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001564/0.00535, allocations: 95.23 kB / 0.9552 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=8): time 9.42e-07/0.005351, allocations: 0 / 0.9552 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of matching and sorting (n=8): time 0.0002687/0.00562, allocations: 145.6 kB / 0.9553 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.261e-05/0.005652, allocations: 63.39 kB / 0.9554 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.23e-05/0.005714, allocations: 113.8 kB / 0.9555 GB, free: 14.92 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.005733, allocations: 33.7 kB / 0.9555 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.471e-05/0.005778, allocations: 92.12 kB / 0.9556 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.664e-05/0.005794, allocations: 19.86 kB / 0.9556 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.927e-05/0.005844, allocations: 37.7 kB / 0.9557 GB, free: 14.72 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.365e-05/0.005917, allocations: 314.8 kB / 0.956 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001057/0.006023, allocations: 81.66 kB / 0.9561 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001063/0.006129, allocations: 121.9 kB / 0.9562 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001564/0.006286, allocations: 146.2 kB / 0.9563 GB, free: 14.02 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.006289, allocations: 4 kB / 0.9563 GB, free: 14.01 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002585/0.006547, allocations: 244.9 kB / 0.9566 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.805e-05/0.006575, allocations: 45.62 kB / 0.9566 GB, free: 13.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.00658, allocations: 0 / 0.9566 GB, free: 13.7 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.006593, allocations: 4 kB / 0.9566 GB, free: 13.7 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.902e-05/0.006652, allocations: 15.92 kB / 0.9566 GB, free: 13.68 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.006657, allocations: 0 / 0.9566 GB, free: 13.68 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001017/0.006758, allocations: 39.89 kB / 0.9567 GB, free: 13.64 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.358e-05/0.006772, allocations: 8 kB / 0.9567 GB, free: 13.64 MB / 0.9167 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.0002211/0.006993, allocations: 123.9 kB / 0.9568 GB, free: 13.51 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.986e-06/0.007002, allocations: 7.891 kB / 0.9568 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.236e-05/0.007024, allocations: 12.44 kB / 0.9568 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.007028, allocations: 7.922 kB / 0.9568 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.007032, allocations: 0 / 0.9568 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.007035, allocations: 0 / 0.9568 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002802/0.007315, allocations: 318.1 kB / 0.9571 GB, free: 13.13 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.007317, allocations: 4 kB / 0.9571 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.499e-05/0.007342, allocations: 8 kB / 0.9571 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.007345, allocations: 7.922 kB / 0.9571 GB, free: 13.11 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.543e-06/0.007351, allocations: 0 / 0.9571 GB, free: 13.11 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.007354, allocations: 4 kB / 0.9571 GB, free: 13.11 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.007355, allocations: 0 / 0.9571 GB, free: 13.11 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001588/0.007514, allocations: 203.4 kB / 0.9573 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.406e-06/0.007522, allocations: 7.953 kB / 0.9573 GB, free: 12.88 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.317e-05/0.007535, allocations: 4 kB / 0.9573 GB, free: 12.88 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.091e-05/0.007576, allocations: 11.98 kB / 0.9574 GB, free: 12.87 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.502e-05/0.007611, allocations: 7.984 kB / 0.9574 GB, free: 12.86 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.007616, allocations: 0 / 0.9574 GB, free: 12.86 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.441e-05/0.00765, allocations: 99.27 kB / 0.9575 GB, free: 12.76 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.00765, allocations: 0 / 0.9575 GB, free: 12.76 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001762/0.007826, allocations: 23.94 kB / 0.9575 GB, free: 12.74 MB / 0.9167 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.0001249/0.007951, allocations: 105.6 kB / 0.9576 GB, free: 12.63 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002506/0.008202, allocations: 193 kB / 0.9578 GB, free: 12.42 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.008203, allocations: 3.938 kB / 0.9578 GB, free: 12.42 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 6.449e-05/0.008268, allocations: 35.97 kB / 0.9578 GB, free: 12.38 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001915/0.008459, allocations: 22.58 kB / 0.9578 GB, free: 12.36 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003038/0.008763, allocations: 187.1 kB / 0.958 GB, free: 12.14 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.971e-05/0.008813, allocations: 75.48 kB / 0.9581 GB, free: 12.05 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.529e-05/0.008838, allocations: 20.5 kB / 0.9581 GB, free: 12.03 MB / 0.9167 GB Notification: Performance of SimCode: time 8.01e-07/0.008839, allocations: 0 / 0.9581 GB, free: 12.03 MB / 0.9167 GB Notification: Performance of Templates: time 0.002053/0.01089, allocations: 1.285 MB / 0.9593 GB, free: 10.76 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Change.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 6.367278921417892]