Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.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.0009684/0.0009684, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.001254/0.001254, allocations: 165 kB / 23.82 MB, free: 0.75 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.9798/0.9798, allocations: 177.1 MB / 204.2 MB, free: 5.254 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.98/1.98, allocations: 377.8 MB / 0.6236 GB, free: 8.566 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|assert.u",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|assert.u",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.736e-06/2.736e-06, allocations: 0 / 0.8115 GB, free: 1.766 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.981e-05/3.254e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.762 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.002174/0.002207, allocations: 0.6065 MB / 0.8121 GB, free: 1.18 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001707/0.003914, allocations: 1.16 MB / 0.8132 GB, free: 8 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.761e-05/0.003961, allocations: 0 / 0.8132 GB, free: 8 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.444e-05/0.003996, allocations: 0 / 0.8132 GB, free: 8 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 8.237e-05/0.004078, allocations: 9.516 kB / 0.8132 GB, free: 0 / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005495/0.004628, allocations: 127.6 kB / 0.8134 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001844/0.004812, allocations: 80.77 kB / 0.8134 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.726e-05/0.004909, allocations: 7.984 kB / 0.8135 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001178/0.005027, allocations: 56.61 kB / 0.8135 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001022/0.005129, allocations: 23.91 kB / 0.8135 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.787e-05/0.005157, allocations: 9.688 kB / 0.8135 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 7.84e-05/0.005236, allocations: 23.98 kB / 0.8136 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.121e-05/0.005257, allocations: 0 / 0.8136 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.921e-05/0.005316, allocations: 31.91 kB / 0.8136 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001732/0.005489, allocations: 71.83 kB / 0.8137 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.005493, allocations: 1.531 kB / 0.8137 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.623e-06/0.005494, allocations: 4 kB / 0.8137 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.369e-06/0.005499, allocations: 0 / 0.8137 GB, free: 15.57 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004961/0.005995, allocations: 398.3 kB / 0.814 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.00604, allocations: 12.88 kB / 0.8141 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.092e-05/0.006101, allocations: 4.938 kB / 0.8141 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001/0.006201, allocations: 117.9 kB / 0.8142 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.006219, allocations: 4.375 kB / 0.8142 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.128e-05/0.00624, allocations: 8.375 kB / 0.8142 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001211/0.006361, allocations: 61.72 kB / 0.8142 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/0.006371, allocations: 192 / 0.8142 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.006386, allocations: 4.359 kB / 0.8142 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.148e-05/0.006398, allocations: 384 / 0.8143 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.671e-05/0.006424, allocations: 7.938 kB / 0.8143 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004828/0.006907, allocations: 276.8 kB / 0.8145 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.891e-05/0.006986, allocations: 31 kB / 0.8146 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.262e-05/0.007009, allocations: 8.25 kB / 0.8146 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 8.345e-06/0.007017, allocations: 0.8438 kB / 0.8146 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000194/0.007211, allocations: 90.81 kB / 0.8146 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 1.963e-06/0.007213, allocations: 1.094 kB / 0.8146 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0002719/0.007485, allocations: 73.53 kB / 0.8147 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.13e-05/0.007536, allocations: 55.34 kB / 0.8148 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/0.007671, allocations: 168.4 kB / 0.8149 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.59e-05/0.007697, allocations: 25.7 kB / 0.815 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.602e-05/0.007783, allocations: 138.8 kB / 0.8151 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.076e-05/0.007794, allocations: 0 / 0.8151 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.111e-05/0.007865, allocations: 35.36 kB / 0.8151 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.008019, allocations: 496.1 kB / 0.8156 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.151e-05/0.008111, allocations: 57.67 kB / 0.8156 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.701e-05/0.008208, allocations: 81.28 kB / 0.8157 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001112/0.008319, allocations: 85.94 kB / 0.8158 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.008321, allocations: 0 / 0.8158 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003326/0.008654, allocations: 178.6 kB / 0.816 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.601e-05/0.0087, allocations: 37.64 kB / 0.816 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.008708, allocations: 4 kB / 0.816 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.008725, allocations: 0.625 kB / 0.816 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.109e-05/0.008746, allocations: 3.984 kB / 0.816 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.008754, allocations: 4.688 kB / 0.816 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00017/0.008924, allocations: 16.67 kB / 0.816 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.139e-05/0.008945, allocations: 4.812 kB / 0.816 GB, free: 12.86 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * 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 9.905e-05/0.009044, allocations: 164.5 kB / 0.8162 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.7e-05/0.009061, allocations: 8.922 kB / 0.8162 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.837e-05/0.00909, allocations: 7.938 kB / 0.8162 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.009093, allocations: 1.219 kB / 0.8162 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.009097, allocations: 0 / 0.8162 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.009101, allocations: 0 / 0.8162 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001069/0.009208, allocations: 128.6 kB / 0.8163 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.00921, allocations: 1.156 kB / 0.8163 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.173e-06/0.009217, allocations: 0 / 0.8163 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.009221, allocations: 2.219 kB / 0.8163 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.009231, allocations: 4 kB / 0.8164 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.362e-06/0.009237, allocations: 7.938 kB / 0.8164 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.009239, allocations: 0 / 0.8164 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001334/0.009372, allocations: 88.36 kB / 0.8164 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.049e-05/0.009383, allocations: 8 kB / 0.8165 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.752e-05/0.0094, allocations: 3.125 kB / 0.8165 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.729e-05/0.009418, allocations: 3.938 kB / 0.8165 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.331e-05/0.009451, allocations: 7.938 kB / 0.8165 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/0.009458, allocations: 0 / 0.8165 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.439e-05/0.009513, allocations: 127.2 kB / 0.8166 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1e-07/0.009513, allocations: 0 / 0.8166 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002523/0.009765, allocations: 23.94 kB / 0.8166 GB, free: 12.22 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001759/0.009941, allocations: 100.5 kB / 0.8167 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002401/0.01018, allocations: 140.7 kB / 0.8168 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.01018, allocations: 0.625 kB / 0.8168 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.586e-05/0.01022, allocations: 19.67 kB / 0.8169 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002467/0.01047, allocations: 9.688 kB / 0.8169 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003549/0.01082, allocations: 122.7 kB / 0.817 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.625e-05/0.01087, allocations: 64.39 kB / 0.817 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.528e-05/0.01089, allocations: 0 / 0.817 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.388e-05/0.01092, allocations: 12.5 kB / 0.8171 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of SimCode: time 6.91e-07/0.01092, allocations: 1.094 kB / 0.8171 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of Templates: time 0.004518/0.01544, allocations: 1.3 MB / 0.8183 GB, free: 10.43 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.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.434570850338787]