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.001553/0.001553, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001836/0.001836, allocations: 173 kB / 23.49 MB, free: 1.062 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 1.041/1.041, allocations: 177.1 MB / 203.8 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] 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 2.39/2.39, allocations: 429.5 MB / 0.6736 GB, free: 4.047 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.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: Performance of FrontEnd - loaded program: time 3.898e-06/3.898e-06, allocations: 0 / 0.8782 GB, free: 6.637 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.792e-05/4.182e-05, allocations: 4.984 kB / 0.8782 GB, free: 6.633 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.001897/0.001939, allocations: 0.7664 MB / 0.8789 GB, free: 5.887 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001409/0.003348, allocations: 1.186 MB / 0.8801 GB, free: 4.691 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.707e-05/0.003405, allocations: 0 / 0.8801 GB, free: 4.691 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.29e-05/0.003438, allocations: 8.453 kB / 0.8801 GB, free: 4.684 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.465e-05/0.003522, allocations: 9.219 kB / 0.8801 GB, free: 4.676 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005375/0.00406, allocations: 135.5 kB / 0.8802 GB, free: 4.543 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002145/0.004274, allocations: 120.4 kB / 0.8804 GB, free: 4.426 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001296/0.004404, allocations: 12.64 kB / 0.8804 GB, free: 4.414 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001513/0.004555, allocations: 59.95 kB / 0.8804 GB, free: 4.355 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001082/0.004663, allocations: 40.52 kB / 0.8805 GB, free: 4.316 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.042e-05/0.004694, allocations: 12 kB / 0.8805 GB, free: 4.305 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.1e-05/0.004775, allocations: 21.59 kB / 0.8805 GB, free: 4.285 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.482e-05/0.00481, allocations: 15.92 kB / 0.8805 GB, free: 4.27 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 6.365e-05/0.004873, allocations: 31.97 kB / 0.8805 GB, free: 4.238 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002309/0.005104, allocations: 95.69 kB / 0.8806 GB, free: 4.145 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.005109, allocations: 1.719 kB / 0.8806 GB, free: 4.145 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.423e-06/0.00511, allocations: 0 / 0.8806 GB, free: 4.145 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.7e-06/0.005116, allocations: 0 / 0.8806 GB, free: 4.145 MB / 0.8386 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.0006189/0.005735, allocations: 434.1 kB / 0.8811 GB, free: 3.676 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/0.005785, allocations: 14.88 kB / 0.8811 GB, free: 3.664 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.023e-05/0.005855, allocations: 8.891 kB / 0.8811 GB, free: 3.656 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001111/0.005966, allocations: 116.5 kB / 0.8812 GB, free: 3.516 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.039e-05/0.005987, allocations: 8.375 kB / 0.8812 GB, free: 3.508 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.007e-05/0.006007, allocations: 8.375 kB / 0.8812 GB, free: 3.5 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000151/0.006158, allocations: 66.88 kB / 0.8813 GB, free: 3.426 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-06/0.006164, allocations: 192 / 0.8813 GB, free: 3.426 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.006176, allocations: 4.359 kB / 0.8813 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.308e-06/0.006185, allocations: 5.094 kB / 0.8813 GB, free: 3.418 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.234e-05/0.006228, allocations: 13.58 kB / 0.8813 GB, free: 3.406 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004941/0.006722, allocations: 311.7 kB / 0.8816 GB, free: 3.066 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001319/0.006854, allocations: 43.06 kB / 0.8816 GB, free: 3.012 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.567e-05/0.006889, allocations: 21.02 kB / 0.8816 GB, free: 2.988 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.033e-05/0.0069, allocations: 0 / 0.8816 GB, free: 2.988 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001373/0.007037, allocations: 81.05 kB / 0.8817 GB, free: 2.895 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 1.563e-06/0.007039, allocations: 7.938 kB / 0.8817 GB, free: 2.887 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0002481/0.007287, allocations: 97.67 kB / 0.8818 GB, free: 2.785 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.269e-05/0.007329, allocations: 55.41 kB / 0.8819 GB, free: 2.719 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001483/0.007478, allocations: 177.9 kB / 0.8821 GB, free: 2.527 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/0.0075, allocations: 29.7 kB / 0.8821 GB, free: 2.492 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.51e-05/0.007565, allocations: 142.9 kB / 0.8822 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.971e-05/0.007585, allocations: 11.91 kB / 0.8822 GB, free: 2.336 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.351e-05/0.007648, allocations: 39.36 kB / 0.8823 GB, free: 2.289 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.007794, allocations: 0.4923 MB / 0.8827 GB, free: 1.785 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.901e-05/0.007883, allocations: 61.67 kB / 0.8828 GB, free: 1.719 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.451e-05/0.007978, allocations: 112.1 kB / 0.8829 GB, free: 1.582 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001212/0.008099, allocations: 124 kB / 0.883 GB, free: 1.434 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.008102, allocations: 0 / 0.883 GB, free: 1.434 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002766/0.008378, allocations: 212.9 kB / 0.8832 GB, free: 1.207 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.32e-05/0.008422, allocations: 29.7 kB / 0.8833 GB, free: 1.172 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.008431, allocations: 4 kB / 0.8833 GB, free: 1.168 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.008449, allocations: 4.125 kB / 0.8833 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.008563, allocations: 15.92 kB / 0.8833 GB, free: 1.148 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/0.008573, allocations: 4 kB / 0.8833 GB, free: 1.145 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001199/0.008693, allocations: 35.86 kB / 0.8833 GB, free: 1.109 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.675e-05/0.00871, allocations: 4 kB / 0.8833 GB, free: 1.105 MB / 0.8386 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.0001092/0.008819, allocations: 164.6 kB / 0.8835 GB, free: 0.9336 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.127e-05/0.00884, allocations: 11.89 kB / 0.8835 GB, free: 0.9219 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.882e-05/0.008879, allocations: 16.36 kB / 0.8835 GB, free: 0.9023 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.008883, allocations: 8 kB / 0.8835 GB, free: 0.8945 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.008888, allocations: 0 / 0.8835 GB, free: 0.8945 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.008891, allocations: 0 / 0.8835 GB, free: 0.8945 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003438/0.009235, allocations: 341.7 kB / 0.8838 GB, free: 0.5195 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.009239, allocations: 4.062 kB / 0.8838 GB, free: 0.5156 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.09e-05/0.00931, allocations: 11.88 kB / 0.8839 GB, free: 0.5039 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.009313, allocations: 0 / 0.8839 GB, free: 0.5039 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.009322, allocations: 0 / 0.8839 GB, free: 0.5039 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.009325, allocations: 4.078 kB / 0.8839 GB, free: 0.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.009328, allocations: 3.984 kB / 0.8839 GB, free: 0.4961 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001619/0.00949, allocations: 239.8 kB / 0.8841 GB, free: 248 kB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.677e-05/0.009507, allocations: 7.953 kB / 0.8841 GB, free: 240 kB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.182e-05/0.009529, allocations: 0 / 0.8841 GB, free: 240 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.425e-05/0.009583, allocations: 11.98 kB / 0.8841 GB, free: 228 kB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.596e-05/0.009629, allocations: 3.984 kB / 0.8841 GB, free: 224 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/0.009638, allocations: 4 kB / 0.8841 GB, free: 220 kB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.532e-05/0.009693, allocations: 135.7 kB / 0.8842 GB, free: 84 kB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.009693, allocations: 0 / 0.8842 GB, free: 84 kB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002036/0.009897, allocations: 20 kB / 0.8843 GB, free: 64 kB / 0.8386 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.0002012/0.0101, allocations: 111.1 kB / 0.8844 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002393/0.01034, allocations: 168.7 kB / 0.8845 GB, free: 15.76 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.01034, allocations: 0 / 0.8845 GB, free: 15.76 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.657e-05/0.01039, allocations: 23.69 kB / 0.8846 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002606/0.01065, allocations: 20.77 kB / 0.8846 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003991/0.01105, allocations: 162.8 kB / 0.8847 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.623e-05/0.01109, allocations: 63.59 kB / 0.8848 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.856e-05/0.01112, allocations: 11.86 kB / 0.8848 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.228e-05/0.01115, allocations: 16.44 kB / 0.8848 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of SimCode: time 1.854e-06/0.01115, allocations: 0 / 0.8848 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of Templates: time 0.004124/0.01528, allocations: 1.611 MB / 0.8864 GB, free: 13.84 MB / 0.8542 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.972740413853899]