Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001796/0.001802, allocations: 106.6 kB / 16.41 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002033/0.002033, allocations: 191.7 kB / 19.35 MB, free: 3.734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 222.9 MB / 245.1 MB, free: 15 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.581/2.581, allocations: 437.1 MB / 0.7171 GB, free: 4.074 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: "" <> buildModelFMU(Buildings.Utilities.Diagnostics.Validation.CheckEquality,fileNamePrefix="Buildings_10_Buildings_Utilities_Diagnostics_Validation_CheckEquality",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Diagnostics.Validation.CheckEquality,fileNamePrefix="Buildings_10_Buildings_Utilities_Diagnostics_Validation_CheckEquality",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001973/0.001973, allocations: 64.08 kB / 1.027 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8589/0.8609, allocations: 151.6 MB / 1.175 GB, free: 17.62 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.00249/0.8635, allocations: 1.523 MB / 1.176 GB, free: 16.56 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0006292/0.8641, allocations: 445.4 kB / 1.177 GB, free: 16.25 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.576e-05/0.8642, allocations: 4 kB / 1.177 GB, free: 16.25 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.864e-05/0.8642, allocations: 6.078 kB / 1.177 GB, free: 16.24 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.812e-05/0.8643, allocations: 8.719 kB / 1.177 GB, free: 16.23 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001919/0.8645, allocations: 22.84 kB / 1.177 GB, free: 16.22 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.26e-05/0.8645, allocations: 43.06 kB / 1.177 GB, free: 16.2 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001/0.8647, allocations: 18.14 kB / 1.177 GB, free: 16.2 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000109/0.8648, allocations: 32.12 kB / 1.177 GB, free: 16.18 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.86e-05/0.8648, allocations: 22.23 kB / 1.177 GB, free: 16.16 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.8649, allocations: 3.781 kB / 1.177 GB, free: 16.16 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.35e-05/0.8649, allocations: 3.875 kB / 1.177 GB, free: 16.16 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.093e-05/0.8649, allocations: 11.12 kB / 1.177 GB, free: 16.16 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.937e-05/0.8649, allocations: 23.53 kB / 1.177 GB, free: 16.14 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001132/0.8651, allocations: 42.91 kB / 1.177 GB, free: 16.12 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.8651, allocations: 1.281 kB / 1.177 GB, free: 16.12 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.994e-06/0.8651, allocations: 3.938 kB / 1.177 GB, free: 16.12 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.8651, allocations: 0 / 1.177 GB, free: 16.12 MB / 0.92 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.0004831/0.8656, allocations: 366.8 kB / 1.177 GB, free: 15.74 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.8656, allocations: 9.938 kB / 1.177 GB, free: 15.74 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.93e-05/0.8657, allocations: 37.53 kB / 1.177 GB, free: 15.7 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.818e-05/0.8657, allocations: 8.828 kB / 1.177 GB, free: 15.7 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.915e-05/0.8658, allocations: 168.3 kB / 1.177 GB, free: 15.5 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.622e-05/0.8658, allocations: 1.812 kB / 1.177 GB, free: 15.5 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.371e-05/0.8658, allocations: 7.922 kB / 1.177 GB, free: 15.49 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001992/0.866, allocations: 68.41 kB / 1.177 GB, free: 15.45 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.8661, allocations: 0 / 1.177 GB, free: 15.45 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.8661, allocations: 4 kB / 1.177 GB, free: 15.44 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.8661, allocations: 1.375 kB / 1.177 GB, free: 15.44 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000192/0.8663, allocations: 40.7 kB / 1.177 GB, free: 15.43 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004102/0.8667, allocations: 302.2 kB / 1.178 GB, free: 15.13 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003338/0.867, allocations: 66.2 kB / 1.178 GB, free: 15.1 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.672e-05/0.8672, allocations: 22.88 kB / 1.178 GB, free: 15.09 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.675e-05/0.8672, allocations: 0 / 1.178 GB, free: 15.09 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.425e-05/0.8672, allocations: 32.66 kB / 1.178 GB, free: 15.05 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.543e-06/0.8672, allocations: 3.984 kB / 1.178 GB, free: 15.04 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0003635/0.8676, allocations: 90.06 kB / 1.178 GB, free: 15 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.268e-05/0.8676, allocations: 51.41 kB / 1.178 GB, free: 14.93 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.49e-05/0.8677, allocations: 118.7 kB / 1.178 GB, free: 14.83 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 8.355e-06/0.8677, allocations: 31.11 kB / 1.178 GB, free: 14.79 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.372e-05/0.8677, allocations: 95.25 kB / 1.178 GB, free: 14.7 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.716e-05/0.8678, allocations: 7.234 kB / 1.178 GB, free: 14.7 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.067e-05/0.8678, allocations: 16.66 kB / 1.178 GB, free: 14.68 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 4.931e-05/0.8679, allocations: 323.6 kB / 1.179 GB, free: 14.36 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.001e-05/0.8679, allocations: 16.7 kB / 1.179 GB, free: 14.35 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.961e-05/0.868, allocations: 17.95 kB / 1.179 GB, free: 14.35 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001664/0.8682, allocations: 39.3 kB / 1.179 GB, free: 14.33 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.8682, allocations: 0.7031 kB / 1.179 GB, free: 14.33 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001996/0.8684, allocations: 79.17 kB / 1.179 GB, free: 14.28 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.8684, allocations: 6.875 kB / 1.179 GB, free: 14.28 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.8685, allocations: 3.984 kB / 1.179 GB, free: 14.28 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.8685, allocations: 0 / 1.179 GB, free: 14.28 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.449e-05/0.8686, allocations: 10.64 kB / 1.179 GB, free: 14.28 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.8686, allocations: 0.7969 kB / 1.179 GB, free: 14.28 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.304e-05/0.8686, allocations: 5.875 kB / 1.179 GB, free: 14.28 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.898e-06/0.8686, allocations: 7.938 kB / 1.179 GB, free: 14.27 MB / 0.92 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.022e-05/0.8687, allocations: 115.4 kB / 1.179 GB, free: 14.15 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.537e-05/0.8687, allocations: 7.156 kB / 1.179 GB, free: 14.15 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.971e-05/0.8688, allocations: 13.78 kB / 1.179 GB, free: 14.13 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.8688, allocations: 2.031 kB / 1.179 GB, free: 14.13 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.8688, allocations: 0 / 1.179 GB, free: 14.13 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.8688, allocations: 1.344 kB / 1.179 GB, free: 14.13 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000133/0.8689, allocations: 177.4 kB / 1.179 GB, free: 13.93 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.8689, allocations: 0 / 1.179 GB, free: 13.93 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.97e-05/0.869, allocations: 9.469 kB / 1.179 GB, free: 13.93 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.869, allocations: 0 / 1.179 GB, free: 13.93 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.869, allocations: 2 kB / 1.179 GB, free: 13.93 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.869, allocations: 7.938 kB / 1.179 GB, free: 13.92 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.869, allocations: 1.594 kB / 1.179 GB, free: 13.92 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002278/0.8693, allocations: 171.6 kB / 1.179 GB, free: 13.77 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 2.219e-05/0.8693, allocations: 79.48 kB / 1.179 GB, free: 13.68 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.433e-05/0.8693, allocations: 1.312 kB / 1.179 GB, free: 13.68 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.323e-05/0.8694, allocations: 5.156 kB / 1.179 GB, free: 13.68 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.213e-05/0.8694, allocations: 6.344 kB / 1.179 GB, free: 13.68 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.8695, allocations: 1.797 kB / 1.179 GB, free: 13.68 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.145e-05/0.8695, allocations: 98.14 kB / 1.179 GB, free: 13.59 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8695, allocations: 0 / 1.179 GB, free: 13.59 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002124/0.8697, allocations: 9.75 kB / 1.179 GB, free: 13.59 MB / 0.92 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.0003852/0.8701, allocations: 0.7 MB / 1.18 GB, free: 12.92 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002234/0.8703, allocations: 47.31 kB / 1.18 GB, free: 12.9 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.8704, allocations: 0 / 1.18 GB, free: 12.9 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 9.482e-05/0.8705, allocations: 25.8 kB / 1.18 GB, free: 12.89 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002853/0.8708, allocations: 5.281 kB / 1.18 GB, free: 12.89 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001234/0.872, allocations: 1.353 MB / 1.182 GB, free: 11.66 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001239/0.8721, allocations: 0.6834 MB / 1.182 GB, free: 10.96 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 3.251e-05/0.8722, allocations: 2.188 kB / 1.182 GB, free: 10.96 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.336e-05/0.8722, allocations: 20.27 kB / 1.182 GB, free: 10.95 MB / 0.92 GB Notification: Performance of SimCode: time 2.4e-07/0.8722, allocations: 0 / 1.182 GB, free: 10.95 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02245/0.8947, allocations: 1.515 MB / 1.184 GB, free: 10.55 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.767/8.662, allocations: 15.06 kB / 1.184 GB, free: 10.55 MB / 0.92 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Diagnostics_Validation_CheckEquality_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Diagnostics_Validation_CheckEquality.fmu > Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Diagnostics_Validation_CheckEquality.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 14.314993261126801]