Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.0009257/0.0009259, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.007317/0.007318, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.521/1.521, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.499/2.499, allocations: 390.9 MB / 0.6663 GB, free: 2.344 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003398/0.0003399, allocations: 8 kB / 0.8159 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7581/0.7585, allocations: 142.4 MB / 0.955 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.001985/0.7605, allocations: 1.244 MB / 0.9562 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007378/0.7613, allocations: 430.9 kB / 0.9567 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.261e-05/0.7614, allocations: 0.9688 kB / 0.9567 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.18e-05/0.7614, allocations: 0 / 0.9567 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.928e-05/0.7615, allocations: 4.906 kB / 0.9567 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002036/0.7617, allocations: 29.61 kB / 0.9567 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.156e-05/0.7618, allocations: 45.62 kB / 0.9567 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.7619, allocations: 17.97 kB / 0.9567 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001236/0.762, allocations: 19.55 kB / 0.9568 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.951e-05/0.7621, allocations: 17.33 kB / 0.9568 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.524e-05/0.7621, allocations: 1.094 kB / 0.9568 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.044e-05/0.7621, allocations: 5.531 kB / 0.9568 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.049e-05/0.7621, allocations: 9.266 kB / 0.9568 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.829e-05/0.7622, allocations: 41.38 kB / 0.9568 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.044e-05/0.7623, allocations: 32.64 kB / 0.9569 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.7623, allocations: 0.9375 kB / 0.9569 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.345e-06/0.7623, allocations: 0 / 0.9569 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.588e-06/0.7623, allocations: 7.875 kB / 0.9569 GB, free: 6.207 MB / 0.7169 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.0004655/0.7628, allocations: 366 kB / 0.9572 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.7628, allocations: 12.83 kB / 0.9572 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.597e-05/0.7629, allocations: 4.062 kB / 0.9572 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.854e-05/0.763, allocations: 175.1 kB / 0.9574 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.833e-05/0.763, allocations: 2.844 kB / 0.9574 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.375e-05/0.763, allocations: 5.781 kB / 0.9574 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002067/0.7633, allocations: 67.7 kB / 0.9575 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.7633, allocations: 0 / 0.9575 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.7633, allocations: 5.125 kB / 0.9575 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.7633, allocations: 1.062 kB / 0.9575 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001916/0.7635, allocations: 54.52 kB / 0.9575 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004234/0.7639, allocations: 296.1 kB / 0.9578 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003411/0.7643, allocations: 68.17 kB / 0.9579 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.454e-05/0.7644, allocations: 35.09 kB / 0.9579 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.669e-05/0.7644, allocations: 0 / 0.9579 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.421e-05/0.7644, allocations: 32.5 kB / 0.9579 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 8.91e-07/0.7644, allocations: 3.938 kB / 0.958 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0003797/0.7648, allocations: 110.8 kB / 0.9581 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.55e-05/0.7649, allocations: 51.41 kB / 0.9581 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.376e-05/0.7649, allocations: 117.6 kB / 0.9582 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.087e-06/0.7649, allocations: 25.7 kB / 0.9582 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.077e-05/0.765, allocations: 90.75 kB / 0.9583 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.12e-05/0.765, allocations: 14.44 kB / 0.9583 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.231e-05/0.765, allocations: 9.719 kB / 0.9584 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.021e-05/0.7651, allocations: 327.9 kB / 0.9587 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.135e-05/0.7652, allocations: 21.61 kB / 0.9587 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.198e-05/0.7653, allocations: 22.08 kB / 0.9587 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001648/0.7655, allocations: 47.44 kB / 0.9588 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.7655, allocations: 0 / 0.9588 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002124/0.7657, allocations: 78.38 kB / 0.9588 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.7657, allocations: 5.625 kB / 0.9588 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.7657, allocations: 0 / 0.9588 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.7657, allocations: 4 kB / 0.9588 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.939e-05/0.7658, allocations: 17.2 kB / 0.9589 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.7658, allocations: 0 / 0.9589 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.731e-05/0.7659, allocations: 10 kB / 0.9589 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.7659, allocations: 0 / 0.9589 GB, free: 4.293 MB / 0.7169 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 5.955e-05/0.766, allocations: 116.1 kB / 0.959 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.66e-05/0.766, allocations: 7.219 kB / 0.959 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.131e-05/0.766, allocations: 17.02 kB / 0.959 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.7661, allocations: 1 kB / 0.959 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.7661, allocations: 0 / 0.959 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.7661, allocations: 1.062 kB / 0.959 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000127/0.7662, allocations: 175.2 kB / 0.9592 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.7662, allocations: 0 / 0.9592 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.281e-05/0.7663, allocations: 17.27 kB / 0.9592 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.7663, allocations: 0 / 0.9592 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.714e-06/0.7663, allocations: 1.156 kB / 0.9592 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.7663, allocations: 4 kB / 0.9592 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.7663, allocations: 7.922 kB / 0.9592 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002356/0.7666, allocations: 182.4 kB / 0.9594 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.51e-05/0.7666, allocations: 81.02 kB / 0.9594 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.583e-05/0.7666, allocations: 1.594 kB / 0.9594 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.391e-05/0.7667, allocations: 13.2 kB / 0.9595 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.106e-05/0.7667, allocations: 1.781 kB / 0.9595 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.7668, allocations: 0 / 0.9595 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.554e-05/0.7668, allocations: 98.23 kB / 0.9596 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7668, allocations: 0 / 0.9596 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002179/0.767, allocations: 9.594 kB / 0.9596 GB, free: 3.562 MB / 0.7169 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.391e-05/0.7671, allocations: 94.91 kB / 0.9597 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002392/0.7674, allocations: 50.58 kB / 0.9597 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.145e-06/0.7674, allocations: 4 kB / 0.9597 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.409e-05/0.7675, allocations: 23.39 kB / 0.9597 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003024/0.7678, allocations: 11.45 kB / 0.9597 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003588/0.7682, allocations: 160.8 kB / 0.9599 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001227/0.7683, allocations: 0.6824 MB / 0.9606 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.607e-05/0.7683, allocations: 17.66 kB / 0.9606 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.712e-05/0.7684, allocations: 8.938 kB / 0.9606 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of SimCode: time 5.71e-07/0.7684, allocations: 1.188 kB / 0.9606 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of Templates: time 0.002542/0.7709, allocations: 421.5 kB / 0.961 GB, free: 2.355 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality.makefile (rm -f Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality.sim & ./Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Diagnostics_Validation_CheckEquality.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches