Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001901/0.001901, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001626/0.001626, allocations: 161 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 1.11/1.11, allocations: 177.1 MB / 204.2 MB, free: 5.262 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.989/1.989, allocations: 359 MB / 0.6052 GB, free: 11.04 MB / 0.573 GB " [Timeout remaining time 177] 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.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|assert.u",fileNamePrefix="Buildings_11_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_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.865e-06/2.865e-06, allocations: 0 / 0.7871 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.756e-05/3.043e-05, allocations: 4.984 kB / 0.7871 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001355/0.001385, allocations: 0.6133 MB / 0.7877 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001176/0.002561, allocations: 1.164 MB / 0.7888 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.902e-05/0.0026, allocations: 0 / 0.7888 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.931e-05/0.002629, allocations: 3.938 kB / 0.7888 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.764e-05/0.002697, allocations: 5.5 kB / 0.7888 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003893/0.003086, allocations: 123.6 kB / 0.7889 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001369/0.003223, allocations: 90.28 kB / 0.789 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.699e-05/0.00331, allocations: 8 kB / 0.789 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.851e-05/0.003388, allocations: 43.95 kB / 0.7891 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.166e-05/0.00347, allocations: 23.95 kB / 0.7891 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.162e-05/0.003491, allocations: 8 kB / 0.7891 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.908e-05/0.003551, allocations: 23.98 kB / 0.7891 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.772e-05/0.003568, allocations: 3.938 kB / 0.7891 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.666e-05/0.003615, allocations: 25.73 kB / 0.7891 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001405/0.003755, allocations: 75.77 kB / 0.7892 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.003758, allocations: 0 / 0.7892 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.442e-06/0.00376, allocations: 0 / 0.7892 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.69e-06/0.003766, allocations: 4.594 kB / 0.7892 GB, free: 10.32 MB / 0.7448 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.0003952/0.004161, allocations: 398.3 kB / 0.7896 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.0042, allocations: 13.38 kB / 0.7896 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.046e-05/0.00425, allocations: 4.938 kB / 0.7896 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000157/0.004407, allocations: 116.6 kB / 0.7897 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.004421, allocations: 1.562 kB / 0.7897 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.00444, allocations: 8.359 kB / 0.7897 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.57e-05/0.004535, allocations: 59.97 kB / 0.7898 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.004543, allocations: 4.969 kB / 0.7898 GB, free: 9.652 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-06/0.004552, allocations: 384 / 0.7898 GB, free: 9.652 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.004559, allocations: 1.25 kB / 0.7898 GB, free: 9.652 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.868e-05/0.004578, allocations: 15.86 kB / 0.7898 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002945/0.004872, allocations: 278.3 kB / 0.7901 GB, free: 9.332 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.137e-05/0.004913, allocations: 27.06 kB / 0.7901 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.241e-05/0.004926, allocations: 7.688 kB / 0.7901 GB, free: 9.281 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.338e-06/0.00493, allocations: 0 / 0.7901 GB, free: 9.281 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000109/0.005039, allocations: 94.75 kB / 0.7902 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.00504, allocations: 0 / 0.7902 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001598/0.0052, allocations: 57.77 kB / 0.7903 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.434e-05/0.005234, allocations: 59.92 kB / 0.7903 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.904e-05/0.005313, allocations: 166.7 kB / 0.7905 GB, free: 8.855 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/0.005333, allocations: 33.69 kB / 0.7905 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.444e-05/0.005387, allocations: 135.4 kB / 0.7906 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.386e-06/0.005395, allocations: 1.656 kB / 0.7906 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.794e-05/0.005443, allocations: 35.36 kB / 0.7907 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.005554, allocations: 0.4884 MB / 0.7911 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.32e-05/0.005617, allocations: 57.67 kB / 0.7912 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.468e-05/0.005682, allocations: 84.72 kB / 0.7913 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.496e-05/0.005757, allocations: 82.12 kB / 0.7914 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.005759, allocations: 0 / 0.7914 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001953/0.005954, allocations: 182.1 kB / 0.7915 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.524e-05/0.005989, allocations: 33.64 kB / 0.7916 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.005995, allocations: 5.375 kB / 0.7916 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.006013, allocations: 0 / 0.7916 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.652e-05/0.006029, allocations: 3.938 kB / 0.7916 GB, free: 7.633 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.006036, allocations: 1.75 kB / 0.7916 GB, free: 7.633 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001281/0.006164, allocations: 23.97 kB / 0.7916 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.452e-05/0.006178, allocations: 8 kB / 0.7916 GB, free: 7.602 MB / 0.7448 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 6.595e-05/0.006244, allocations: 157.4 kB / 0.7918 GB, free: 7.438 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.537e-06/0.006254, allocations: 7.984 kB / 0.7918 GB, free: 7.43 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.705e-05/0.006281, allocations: 9.156 kB / 0.7918 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.006283, allocations: 0 / 0.7918 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.006286, allocations: 0 / 0.7918 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.006289, allocations: 0 / 0.7918 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.233e-05/0.006362, allocations: 125.9 kB / 0.7919 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.006363, allocations: 0 / 0.7919 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.268e-06/0.006367, allocations: 0 / 0.7919 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.006369, allocations: 0 / 0.7919 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-06/0.006375, allocations: 1.625 kB / 0.7919 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.006377, allocations: 3.938 kB / 0.7919 GB, free: 7.262 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.006378, allocations: 4 kB / 0.7919 GB, free: 7.258 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.459e-05/0.006462, allocations: 92.33 kB / 0.792 GB, free: 7.145 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.963e-06/0.006469, allocations: 10.7 kB / 0.792 GB, free: 7.137 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.997e-06/0.006478, allocations: 0 / 0.792 GB, free: 7.137 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.276e-05/0.006491, allocations: 4.25 kB / 0.792 GB, free: 7.133 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.655e-05/0.006517, allocations: 4 kB / 0.792 GB, free: 7.129 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/0.006521, allocations: 0 / 0.792 GB, free: 7.129 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.911e-05/0.00656, allocations: 135.2 kB / 0.7921 GB, free: 6.996 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.00656, allocations: 0 / 0.7921 GB, free: 6.996 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001424/0.006703, allocations: 20.44 kB / 0.7922 GB, free: 6.977 MB / 0.7448 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.0001104/0.006813, allocations: 95.78 kB / 0.7923 GB, free: 6.875 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001614/0.006974, allocations: 146.6 kB / 0.7924 GB, free: 6.711 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.006976, allocations: 0 / 0.7924 GB, free: 6.711 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.107e-05/0.006997, allocations: 19.69 kB / 0.7924 GB, free: 6.688 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001691/0.007166, allocations: 16.75 kB / 0.7924 GB, free: 6.672 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002555/0.007422, allocations: 127 kB / 0.7925 GB, free: 6.52 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.117e-05/0.007453, allocations: 59.34 kB / 0.7926 GB, free: 6.441 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.646e-05/0.007469, allocations: 5.219 kB / 0.7926 GB, free: 6.438 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.732e-05/0.007486, allocations: 12.5 kB / 0.7926 GB, free: 6.426 MB / 0.7448 GB Notification: Performance of SimCode: time 5.61e-07/0.007487, allocations: 0 / 0.7926 GB, free: 6.426 MB / 0.7448 GB Notification: Performance of Templates: time 0.002952/0.01044, allocations: 1.185 MB / 0.7938 GB, free: 5.285 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.6144836861640215]