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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|cheEqu.y|cheEqu.u1|cheEqu.u2",fileNamePrefix="Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000961/0.0009611, allocations: 119.2 kB / 16.37 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009009/0.0009009, allocations: 190.4 kB / 17.31 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.181/1.181, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.205/2.205, allocations: 442.6 MB / 0.7165 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 64.47 kB / 0.8773 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2599/0.2611, allocations: 153 MB / 1.027 GB, free: 2.09 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.00249/0.2636, allocations: 1.536 MB / 1.028 GB, free: 0.5469 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0006339/0.2643, allocations: 450.7 kB / 1.029 GB, free: 104 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.947e-05/0.2643, allocations: 0 / 1.029 GB, free: 104 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.994e-05/0.2644, allocations: 3.938 kB / 1.029 GB, free: 100 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.296e-05/0.2644, allocations: 3.938 kB / 1.029 GB, free: 96 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002025/0.2646, allocations: 35.89 kB / 1.029 GB, free: 60 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 7.526e-05/0.2647, allocations: 35.92 kB / 1.029 GB, free: 24 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.2648, allocations: 19.98 kB / 1.029 GB, free: 4 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001136/0.265, allocations: 27.94 kB / 1.029 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.948e-05/0.265, allocations: 23.77 kB / 1.029 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.925e-05/0.265, allocations: 4 kB / 1.029 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.01e-05/0.265, allocations: 4 kB / 1.029 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.859e-05/0.2651, allocations: 7.984 kB / 1.029 GB, free: 15.94 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.916e-05/0.2651, allocations: 23.88 kB / 1.029 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.151e-05/0.2652, allocations: 43.81 kB / 1.029 GB, free: 15.87 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2652, allocations: 0 / 1.029 GB, free: 15.87 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2652, allocations: 0 / 1.029 GB, free: 15.87 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.2652, allocations: 0 / 1.029 GB, free: 15.87 MB / 0.8106 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.0004752/0.2657, allocations: 363.4 kB / 1.029 GB, free: 15.47 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.061e-05/0.2657, allocations: 8.031 kB / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.081e-05/0.2658, allocations: 8.844 kB / 1.029 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.808e-05/0.2659, allocations: 172.2 kB / 1.029 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.04e-05/0.2659, allocations: 8.312 kB / 1.029 GB, free: 15.24 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.178e-05/0.2659, allocations: 8.375 kB / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001622/0.2661, allocations: 65.97 kB / 1.029 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.331e-06/0.2661, allocations: 4 kB / 1.029 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.356e-06/0.2661, allocations: 0 / 1.029 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.2661, allocations: 0 / 1.029 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001527/0.2663, allocations: 39.97 kB / 1.03 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003814/0.2667, allocations: 296.7 kB / 1.03 GB, free: 14.78 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002763/0.267, allocations: 66.53 kB / 1.03 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.869e-05/0.267, allocations: 20.91 kB / 1.03 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.54e-05/0.2671, allocations: 0 / 1.03 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.713e-05/0.2671, allocations: 38.5 kB / 1.03 GB, free: 14.63 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 8.22e-07/0.2671, allocations: 0 / 1.03 GB, free: 14.63 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0003111/0.2674, allocations: 89.59 kB / 1.03 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.193e-05/0.2675, allocations: 51.41 kB / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.7e-05/0.2675, allocations: 121.8 kB / 1.03 GB, free: 14.35 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.094e-05/0.2676, allocations: 25.7 kB / 1.03 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.281e-05/0.2676, allocations: 95.98 kB / 1.03 GB, free: 14.22 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.669e-05/0.2676, allocations: 11.97 kB / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.184e-05/0.2677, allocations: 17.7 kB / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.2678, allocations: 326.8 kB / 1.031 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.934e-05/0.2679, allocations: 15.98 kB / 1.031 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.46e-05/0.268, allocations: 11.98 kB / 1.031 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001673/0.2681, allocations: 45.09 kB / 1.031 GB, free: 13.78 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2681, allocations: 0 / 1.031 GB, free: 13.78 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000179/0.2683, allocations: 77.52 kB / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.2683, allocations: 8 kB / 1.031 GB, free: 13.69 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.2684, allocations: 0 / 1.031 GB, free: 13.69 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.387e-06/0.2684, allocations: 0 / 1.031 GB, free: 13.69 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.999e-05/0.2684, allocations: 11.98 kB / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.2685, allocations: 0 / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.757e-05/0.2685, allocations: 7.984 kB / 1.031 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.2685, allocations: 0 / 1.031 GB, free: 13.67 MB / 0.8106 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 7.647e-05/0.2686, allocations: 121.7 kB / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.266e-05/0.2686, allocations: 4 kB / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.614e-05/0.2687, allocations: 7.906 kB / 1.031 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.2687, allocations: 0 / 1.031 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.2687, allocations: 0 / 1.031 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.2687, allocations: 3.938 kB / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001528/0.2688, allocations: 177.5 kB / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.2688, allocations: 4 kB / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.768e-05/0.2689, allocations: 11.98 kB / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.2689, allocations: 0 / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.2689, allocations: 7.938 kB / 1.031 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.2689, allocations: 11.94 kB / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.2689, allocations: 0 / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002101/0.2692, allocations: 163.5 kB / 1.031 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.465e-05/0.2692, allocations: 85.02 kB / 1.031 GB, free: 12.99 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.304e-05/0.2692, allocations: 0 / 1.031 GB, free: 12.99 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.597e-05/0.2693, allocations: 4 kB / 1.031 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.385e-05/0.2693, allocations: 3.984 kB / 1.031 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-06/0.2693, allocations: 4 kB / 1.031 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.91e-05/0.2694, allocations: 103.6 kB / 1.031 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2694, allocations: 0 / 1.031 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002013/0.2696, allocations: 7.938 kB / 1.031 GB, free: 12.87 MB / 0.8106 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 7.916e-05/0.2697, allocations: 99.19 kB / 1.032 GB, free: 12.76 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001889/0.2699, allocations: 43.91 kB / 1.032 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.2699, allocations: 4 kB / 1.032 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 7.677e-05/0.27, allocations: 19.98 kB / 1.032 GB, free: 12.69 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002245/0.2702, allocations: 4 kB / 1.032 GB, free: 12.69 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003067/0.2705, allocations: 138.7 kB / 1.032 GB, free: 12.53 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002112/0.2707, allocations: 0.6846 MB / 1.032 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.93e-05/0.2708, allocations: 4 kB / 1.032 GB, free: 11.81 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.71e-05/0.2708, allocations: 15.38 kB / 1.032 GB, free: 11.8 MB / 0.8106 GB Notification: Performance of SimCode: time 2.01e-07/0.2708, allocations: 0 / 1.032 GB, free: 11.8 MB / 0.8106 GB Notification: Performance of Templates: time 0.002062/0.2729, allocations: 479 kB / 1.033 GB, free: 11.33 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.makefile (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=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Diagnostics_Validation_CheckEquality.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches