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.0008543/0.0008543, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.001293/0.001293, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8813/0.8813, allocations: 177.1 MB / 203.5 MB, free: 5.754 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 1.843/1.843, allocations: 389 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] 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 2.044e-06/2.044e-06, allocations: 0 / 1.001 GB, free: 13.06 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.413e-05/3.618e-05, allocations: 2.281 kB / 1.001 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.002335/0.002371, allocations: 1.556 MB / 1.002 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0007219/0.003093, allocations: 467.6 kB / 1.003 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.018e-05/0.003164, allocations: 0 / 1.003 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.624e-05/0.0032, allocations: 3.938 kB / 1.003 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.209e-05/0.003252, allocations: 15.86 kB / 1.003 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002996/0.003552, allocations: 35.84 kB / 1.003 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001196/0.003671, allocations: 51.83 kB / 1.003 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.00379, allocations: 15.98 kB / 1.003 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001719/0.003962, allocations: 35.86 kB / 1.003 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.461e-05/0.003996, allocations: 19.89 kB / 1.003 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.809e-05/0.004014, allocations: 4 kB / 1.003 GB, free: 10.85 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 4.474e-05/0.004059, allocations: 12 kB / 1.003 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.438e-05/0.004073, allocations: 4 kB / 1.003 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.479e-05/0.004098, allocations: 15.92 kB / 1.003 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.000127/0.004225, allocations: 51.81 kB / 1.003 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.004228, allocations: 0 / 1.003 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.653e-06/0.00423, allocations: 4 kB / 1.003 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.99e-06/0.004235, allocations: 0 / 1.003 GB, free: 10.77 MB / 0.9636 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.0006683/0.004903, allocations: 294.1 kB / 1.003 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/0.004951, allocations: 9.344 kB / 1.003 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001223/0.005074, allocations: 16.88 kB / 1.003 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001721/0.005246, allocations: 121.7 kB / 1.003 GB, free: 10.28 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.404e-05/0.00527, allocations: 4.375 kB / 1.003 GB, free: 10.28 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.119e-05/0.005281, allocations: 4.375 kB / 1.004 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/0.005432, allocations: 66.17 kB / 1.004 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.005442, allocations: 192 / 1.004 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.005453, allocations: 384 / 1.004 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.005459, allocations: 7.938 kB / 1.004 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001003/0.00556, allocations: 35.97 kB / 1.004 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003338/0.005894, allocations: 224.5 kB / 1.004 GB, free: 9.91 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000208/0.006102, allocations: 70.42 kB / 1.004 GB, free: 9.832 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.566e-05/0.006157, allocations: 32.89 kB / 1.004 GB, free: 9.797 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.444e-05/0.006172, allocations: 0 / 1.004 GB, free: 9.797 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.704e-05/0.006189, allocations: 30.56 kB / 1.004 GB, free: 9.758 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 7.72e-07/0.006189, allocations: 0 / 1.004 GB, free: 9.758 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.0002458/0.006435, allocations: 97.53 kB / 1.004 GB, free: 9.656 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.917e-05/0.006474, allocations: 51.41 kB / 1.004 GB, free: 9.594 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.854e-05/0.006543, allocations: 117.8 kB / 1.004 GB, free: 9.469 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.114e-05/0.006554, allocations: 29.7 kB / 1.004 GB, free: 9.434 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.283e-05/0.006597, allocations: 96.03 kB / 1.004 GB, free: 9.336 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.16e-05/0.006619, allocations: 7.938 kB / 1.004 GB, free: 9.328 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.992e-05/0.006648, allocations: 17.72 kB / 1.004 GB, free: 9.305 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.961e-05/0.006728, allocations: 310.8 kB / 1.005 GB, free: 8.992 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.927e-05/0.006777, allocations: 19.98 kB / 1.005 GB, free: 8.973 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.409e-05/0.006821, allocations: 15.98 kB / 1.005 GB, free: 8.957 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.014e-05/0.006912, allocations: 36.83 kB / 1.005 GB, free: 8.918 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.626e-06/0.006915, allocations: 11.88 kB / 1.005 GB, free: 8.906 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001239/0.007039, allocations: 77.55 kB / 1.005 GB, free: 8.824 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.007054, allocations: 8 kB / 1.005 GB, free: 8.816 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.007059, allocations: 0 / 1.005 GB, free: 8.816 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.007075, allocations: 0 / 1.005 GB, free: 8.816 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.417e-05/0.007119, allocations: 11.98 kB / 1.005 GB, free: 8.805 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.007125, allocations: 3.984 kB / 1.005 GB, free: 8.801 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.537e-05/0.00715, allocations: 4 kB / 1.005 GB, free: 8.797 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.007158, allocations: 0 / 1.005 GB, free: 8.797 MB / 0.9636 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 6.336e-05/0.007221, allocations: 121.8 kB / 1.005 GB, free: 8.668 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.092e-05/0.007232, allocations: 0 / 1.005 GB, free: 8.668 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.972e-05/0.007272, allocations: 15.98 kB / 1.005 GB, free: 8.645 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.007274, allocations: 0 / 1.005 GB, free: 8.645 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.00728, allocations: 0 / 1.005 GB, free: 8.645 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.007284, allocations: 0 / 1.005 GB, free: 8.645 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000105/0.007389, allocations: 113.4 kB / 1.005 GB, free: 8.504 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.007391, allocations: 3.938 kB / 1.005 GB, free: 8.5 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.837e-05/0.007419, allocations: 11.98 kB / 1.005 GB, free: 8.488 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.62e-07/0.00742, allocations: 0 / 1.005 GB, free: 8.488 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.968e-06/0.00743, allocations: 8 kB / 1.005 GB, free: 8.48 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.007433, allocations: 7.938 kB / 1.005 GB, free: 8.473 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.007434, allocations: 0 / 1.005 GB, free: 8.473 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000152/0.007586, allocations: 163.5 kB / 1.005 GB, free: 8.297 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 8.316e-06/0.007594, allocations: 12.27 kB / 1.005 GB, free: 8.285 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.102e-05/0.007605, allocations: 0 / 1.005 GB, free: 8.285 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.002e-05/0.007645, allocations: 4 kB / 1.005 GB, free: 8.281 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.373e-05/0.007679, allocations: 4.359 kB / 1.005 GB, free: 8.277 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.007682, allocations: 3.938 kB / 1.005 GB, free: 8.273 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.057e-05/0.007723, allocations: 95.27 kB / 1.005 GB, free: 8.18 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.007723, allocations: 0 / 1.005 GB, free: 8.18 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001495/0.007872, allocations: 11.94 kB / 1.005 GB, free: 8.168 MB / 0.9636 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 8.111e-05/0.007953, allocations: 91.25 kB / 1.005 GB, free: 8.07 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001433/0.008097, allocations: 47.89 kB / 1.006 GB, free: 8.023 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.008098, allocations: 0 / 1.006 GB, free: 8.023 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 4.636e-05/0.008145, allocations: 19.98 kB / 1.006 GB, free: 8.004 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000206/0.008351, allocations: 21.75 kB / 1.006 GB, free: 7.984 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003178/0.008668, allocations: 170.4 kB / 1.006 GB, free: 7.785 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.643e-05/0.008725, allocations: 71.23 kB / 1.006 GB, free: 7.695 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.308e-05/0.008758, allocations: 16.44 kB / 1.006 GB, free: 7.68 MB / 0.9636 GB Notification: Performance of SimCode: time 4.11e-07/0.008758, allocations: 0 / 1.006 GB, free: 7.68 MB / 0.9636 GB Notification: Performance of Templates: time 0.001808/0.01057, allocations: 0.7208 MB / 1.006 GB, free: 6.957 MB / 0.9636 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] "" Variables in the reference:time,cheEqu.y,cheEqu.u1,cheEqu.u2 Variables in the result:cheEqu.u1,cheEqu.u2,cheEqu.y,time [Calling sys.exit(0), Time elapsed: 6.493100545369089]