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.001372/0.001372, allocations: 80.2 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001474/0.001474, allocations: 171.5 kB / 22.46 MB, free: 5.352 MB / 14.72 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.46/1.46, allocations: 177.1 MB / 202.8 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] 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.992/2.992, allocations: 389 MB / 0.633 GB, free: 1.035 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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.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 / 1 GB, free: 7.383 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.611e-05/2.749e-05, allocations: 6.219 kB / 1 GB, free: 7.375 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.002838/0.002865, allocations: 1.54 MB / 1.002 GB, free: 5.828 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0009405/0.003806, allocations: 478.7 kB / 1.002 GB, free: 5.355 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.849e-05/0.003864, allocations: 4 kB / 1.002 GB, free: 5.352 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.176e-05/0.003896, allocations: 7.922 kB / 1.002 GB, free: 5.344 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 4.742e-05/0.003943, allocations: 7.875 kB / 1.002 GB, free: 5.336 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002542/0.004198, allocations: 43.83 kB / 1.002 GB, free: 5.293 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001066/0.004304, allocations: 39.86 kB / 1.002 GB, free: 5.254 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 9.632e-05/0.0044, allocations: 19.97 kB / 1.002 GB, free: 5.234 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001531/0.004554, allocations: 31.91 kB / 1.002 GB, free: 5.203 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 4.253e-05/0.004596, allocations: 19.97 kB / 1.002 GB, free: 5.184 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.819e-05/0.004614, allocations: 4 kB / 1.002 GB, free: 5.18 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 3.843e-05/0.004653, allocations: 4 kB / 1.002 GB, free: 5.176 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.833e-05/0.004671, allocations: 11.92 kB / 1.002 GB, free: 5.164 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.479e-05/0.004696, allocations: 12 kB / 1.002 GB, free: 5.152 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001264/0.004822, allocations: 51.8 kB / 1.002 GB, free: 5.102 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.004825, allocations: 7.938 kB / 1.002 GB, free: 5.094 MB / 0.9512 GB Notification: Performance of FrontEnd: time 6.22e-07/0.004825, allocations: 0 / 1.002 GB, free: 5.094 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.577e-06/0.004829, allocations: 0 / 1.002 GB, free: 5.094 MB / 0.9512 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.0005419/0.005371, allocations: 290.1 kB / 1.003 GB, free: 4.781 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.005407, allocations: 8.031 kB / 1.003 GB, free: 4.773 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001349/0.005542, allocations: 16.88 kB / 1.003 GB, free: 4.758 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001992/0.005741, allocations: 121.7 kB / 1.003 GB, free: 4.613 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.074e-05/0.005762, allocations: 4.312 kB / 1.003 GB, free: 4.609 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.787e-05/0.00578, allocations: 8.375 kB / 1.003 GB, free: 4.602 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002039/0.005984, allocations: 66.22 kB / 1.003 GB, free: 4.531 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.005997, allocations: 8.156 kB / 1.003 GB, free: 4.523 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.006008, allocations: 4.312 kB / 1.003 GB, free: 4.52 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.006014, allocations: 7.938 kB / 1.003 GB, free: 4.512 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001976/0.006212, allocations: 43.91 kB / 1.003 GB, free: 4.469 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004026/0.006614, allocations: 220.6 kB / 1.003 GB, free: 4.223 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003579/0.006972, allocations: 66.47 kB / 1.003 GB, free: 4.148 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.007077, allocations: 32.84 kB / 1.003 GB, free: 4.113 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.691e-05/0.007094, allocations: 0 / 1.003 GB, free: 4.113 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.795e-05/0.007132, allocations: 34.56 kB / 1.003 GB, free: 4.07 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.007133, allocations: 0 / 1.003 GB, free: 4.07 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0004014/0.007534, allocations: 85.61 kB / 1.003 GB, free: 3.98 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.769e-05/0.007572, allocations: 51.41 kB / 1.003 GB, free: 3.918 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.214e-05/0.007664, allocations: 113.8 kB / 1.003 GB, free: 3.797 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.007683, allocations: 25.7 kB / 1.003 GB, free: 3.766 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.134e-05/0.007754, allocations: 104 kB / 1.004 GB, free: 3.66 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.504e-05/0.007769, allocations: 7.891 kB / 1.004 GB, free: 3.652 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.467e-05/0.007804, allocations: 13.72 kB / 1.004 GB, free: 3.633 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.007947, allocations: 322.8 kB / 1.004 GB, free: 3.309 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.538e-05/0.008043, allocations: 15.98 kB / 1.004 GB, free: 3.293 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.108e-05/0.008124, allocations: 11.98 kB / 1.004 GB, free: 3.281 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001825/0.008306, allocations: 44.83 kB / 1.004 GB, free: 3.234 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.00831, allocations: 3.938 kB / 1.004 GB, free: 3.23 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002252/0.008535, allocations: 73.62 kB / 1.004 GB, free: 3.152 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.008549, allocations: 6.344 kB / 1.004 GB, free: 3.148 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.008552, allocations: 0 / 1.004 GB, free: 3.148 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.008568, allocations: 4 kB / 1.004 GB, free: 3.145 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.262e-05/0.008661, allocations: 15.92 kB / 1.004 GB, free: 3.129 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.798e-06/0.008665, allocations: 0 / 1.004 GB, free: 3.129 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.679e-05/0.008722, allocations: 4 kB / 1.004 GB, free: 3.125 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.008729, allocations: 4.375 kB / 1.004 GB, free: 3.121 MB / 0.9512 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 9.903e-05/0.008828, allocations: 122.3 kB / 1.004 GB, free: 2.992 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.496e-05/0.008853, allocations: 0 / 1.004 GB, free: 2.992 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.176e-05/0.008885, allocations: 8 kB / 1.004 GB, free: 2.98 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.008887, allocations: 3.938 kB / 1.004 GB, free: 2.977 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.00889, allocations: 3.938 kB / 1.004 GB, free: 2.973 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.008892, allocations: 0 / 1.004 GB, free: 2.973 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001469/0.009038, allocations: 113.3 kB / 1.004 GB, free: 2.832 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.009043, allocations: 7.938 kB / 1.004 GB, free: 2.824 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.566e-05/0.009118, allocations: 7.984 kB / 1.004 GB, free: 2.816 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.00912, allocations: 4 kB / 1.004 GB, free: 2.812 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.988e-06/0.00913, allocations: 4.328 kB / 1.004 GB, free: 2.809 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.009131, allocations: 0 / 1.004 GB, free: 2.809 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.009132, allocations: 0 / 1.004 GB, free: 2.809 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002856/0.009417, allocations: 171.4 kB / 1.004 GB, free: 2.625 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 1.111e-05/0.009429, allocations: 11.89 kB / 1.005 GB, free: 2.613 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/0.009444, allocations: 4 kB / 1.005 GB, free: 2.609 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.075e-05/0.009535, allocations: 7.984 kB / 1.005 GB, free: 2.602 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.17e-05/0.009567, allocations: 0 / 1.005 GB, free: 2.602 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.351e-06/0.009573, allocations: 8 kB / 1.005 GB, free: 2.594 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.32e-05/0.009636, allocations: 91.27 kB / 1.005 GB, free: 2.504 MB / 0.9512 GB Notification: Performance of sort global known variables: time 9.1e-08/0.009636, allocations: 0 / 1.005 GB, free: 2.504 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002216/0.009858, allocations: 7.938 kB / 1.005 GB, free: 2.496 MB / 0.9512 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 0.0001103/0.009968, allocations: 95.25 kB / 1.005 GB, free: 2.395 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002345/0.0102, allocations: 39.95 kB / 1.005 GB, free: 2.355 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.0102, allocations: 0 / 1.005 GB, free: 2.355 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001021/0.01031, allocations: 27.92 kB / 1.005 GB, free: 2.328 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002501/0.01056, allocations: 7.938 kB / 1.005 GB, free: 2.32 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003684/0.01092, allocations: 148.8 kB / 1.005 GB, free: 2.148 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.346e-05/0.011, allocations: 63.34 kB / 1.005 GB, free: 2.066 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.943e-05/0.01103, allocations: 4 kB / 1.005 GB, free: 2.062 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.25e-05/0.01106, allocations: 12.48 kB / 1.005 GB, free: 2.051 MB / 0.9512 GB Notification: Performance of SimCode: time 4.21e-07/0.01106, allocations: 4 kB / 1.005 GB, free: 2.047 MB / 0.9512 GB Notification: Performance of Templates: time 0.002828/0.01389, allocations: 446.5 kB / 1.005 GB, free: 1.613 MB / 0.9512 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Diagnostics_Validation_CheckEquality.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.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: 8.442104805260897]