Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.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.001055/0.001055, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001624/0.002679, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001051/0.001051, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001397/0.002448, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9629/0.9629, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07631/1.039, allocations: 53.68 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.279/2.279, allocations: 447.1 MB / 0.675 GB, free: 5.898 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2156/2.494, allocations: 146 MB / 0.8176 GB, free: 3.82 MB / 0.7917 GB " [Timeout remaining time 178] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cheEqu.y|cheEqu.u1|cheEqu.u2",fileNamePrefix="Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality") translateModel(Buildings.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cheEqu.y|cheEqu.u1|cheEqu.u2",fileNamePrefix="Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 0.8189 GB, free: 2.523 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.148e-05/1.287e-05, allocations: 5.125 kB / 0.8189 GB, free: 2.52 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.002085/0.002098, allocations: 1.628 MB / 0.8205 GB, free: 0.875 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0006381/0.002736, allocations: 0.4985 MB / 0.821 GB, free: 380 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.449e-05/0.002781, allocations: 0 / 0.821 GB, free: 380 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.206e-05/0.002803, allocations: 7.875 kB / 0.821 GB, free: 372 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 3.008e-05/0.002833, allocations: 7.938 kB / 0.821 GB, free: 364 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001361/0.002969, allocations: 35.83 kB / 0.821 GB, free: 328 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 8.679e-05/0.003056, allocations: 47.8 kB / 0.8211 GB, free: 280 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 8.127e-05/0.003137, allocations: 19.97 kB / 0.8211 GB, free: 260 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001344/0.003272, allocations: 43.84 kB / 0.8211 GB, free: 216 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 3.41e-05/0.003306, allocations: 15.97 kB / 0.8211 GB, free: 200 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.509e-05/0.003321, allocations: 4 kB / 0.8211 GB, free: 196 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 4.729e-05/0.003368, allocations: 8 kB / 0.8212 GB, free: 188 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.673e-05/0.003385, allocations: 11.94 kB / 0.8212 GB, free: 176 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.865e-05/0.003403, allocations: 11.94 kB / 0.8212 GB, free: 164 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 9.667e-05/0.0035, allocations: 35.84 kB / 0.8212 GB, free: 128 kB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.144e-05/0.003511, allocations: 0 / 0.8212 GB, free: 128 kB / 0.7917 GB Notification: Performance of FrontEnd: time 6.21e-07/0.003512, allocations: 0 / 0.8212 GB, free: 128 kB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.237e-05/0.003524, allocations: 0 / 0.8212 GB, free: 128 kB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004167/0.003941, allocations: 280.3 kB / 0.8215 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.015e-05/0.003971, allocations: 8.031 kB / 0.8215 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001374/0.004109, allocations: 94.03 kB / 0.8216 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002704/0.004379, allocations: 121.7 kB / 0.8217 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/0.004399, allocations: 4.375 kB / 0.8217 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.385e-05/0.004413, allocations: 8.312 kB / 0.8217 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00011/0.004523, allocations: 62.94 kB / 0.8218 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.134e-06/0.00453, allocations: 192 / 0.8218 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.832e-06/0.004537, allocations: 384 / 0.8218 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.004544, allocations: 3.938 kB / 0.8218 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.624e-05/0.00457, allocations: 15.98 kB / 0.8218 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002239/0.004794, allocations: 168.2 kB / 0.8219 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001227/0.004917, allocations: 34.56 kB / 0.822 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.884e-05/0.004936, allocations: 16.84 kB / 0.822 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.137e-05/0.004947, allocations: 0 / 0.822 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.164e-05/0.004969, allocations: 34.5 kB / 0.822 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 7.71e-07/0.00497, allocations: 0 / 0.822 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.0001174/0.005087, allocations: 49.8 kB / 0.8221 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.602e-05/0.005113, allocations: 51.41 kB / 0.8221 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.638e-05/0.005169, allocations: 118.8 kB / 0.8222 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.003e-05/0.005179, allocations: 25.7 kB / 0.8223 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.593e-05/0.005215, allocations: 100.1 kB / 0.8224 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.661e-05/0.005232, allocations: 7.891 kB / 0.8224 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.875e-05/0.005261, allocations: 13.72 kB / 0.8224 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.508e-05/0.005336, allocations: 322.8 kB / 0.8227 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.139e-05/0.005347, allocations: 4 kB / 0.8227 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.101e-05/0.005358, allocations: 4 kB / 0.8227 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.53e-05/0.005383, allocations: 12.84 kB / 0.8227 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.005385, allocations: 4 kB / 0.8227 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.425e-05/0.005439, allocations: 53.56 kB / 0.8228 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.005452, allocations: 5.562 kB / 0.8228 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.005456, allocations: 3.984 kB / 0.8228 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.005467, allocations: 0 / 0.8228 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.546e-05/0.005513, allocations: 11.94 kB / 0.8228 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-06/0.005517, allocations: 3.984 kB / 0.8228 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.328e-05/0.00554, allocations: 4 kB / 0.8228 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.15e-06/0.005545, allocations: 0 / 0.8228 GB, free: 14.34 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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 4.726e-05/0.005592, allocations: 105.8 kB / 0.8229 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.951e-05/0.005612, allocations: 7.938 kB / 0.8229 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.381e-05/0.005646, allocations: 15.98 kB / 0.8229 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.005649, allocations: 4 kB / 0.8229 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.005651, allocations: 4 kB / 0.8229 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.005654, allocations: 0 / 0.8229 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001086/0.005763, allocations: 77.83 kB / 0.823 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-07/0.005763, allocations: 0 / 0.823 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.202e-05/0.005795, allocations: 8 kB / 0.823 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.511e-06/0.005801, allocations: 0 / 0.823 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.588e-06/0.005805, allocations: 7.922 kB / 0.823 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.952e-06/0.005811, allocations: 4 kB / 0.823 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.01e-07/0.005812, allocations: 3.938 kB / 0.823 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.005813, allocations: 4 kB / 0.823 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.004e-05/0.005893, allocations: 135.5 kB / 0.8232 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.788e-06/0.005903, allocations: 0 / 0.8232 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.045e-05/0.005953, allocations: 3.938 kB / 0.8232 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.303e-05/0.005976, allocations: 7.984 kB / 0.8232 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.405e-06/0.005978, allocations: 0 / 0.8232 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.76e-05/0.005996, allocations: 16.84 kB / 0.8232 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.005996, allocations: 0 / 0.8232 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000174/0.00617, allocations: 7.984 kB / 0.8232 GB, free: 13.88 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 6.988e-05/0.00624, allocations: 80.42 kB / 0.8233 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.589e-05/0.006306, allocations: 20.8 kB / 0.8233 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/0.006313, allocations: 7.984 kB / 0.8233 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.608e-05/0.006339, allocations: 13.12 kB / 0.8233 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001843/0.006524, allocations: 36.62 kB / 0.8233 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000739/0.007263, allocations: 156.5 kB / 0.8235 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.036e-05/0.007303, allocations: 59.34 kB / 0.8235 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.406e-05/0.007327, allocations: 7.984 kB / 0.8236 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.99e-05/0.007377, allocations: 51.38 kB / 0.8236 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of SimCode: time 4.21e-07/0.007377, allocations: 0 / 0.8236 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of Templates: time 0.002121/0.009498, allocations: 486.2 kB / 0.8241 GB, free: 12.92 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.sim & ./Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality/Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.955774829722941]