Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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: "" <> buildModelFMU(IBPSA.Utilities.Diagnostics.Validation.CheckEquality,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Diagnostics_Validation_CheckEquality",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Diagnostics.Validation.CheckEquality,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Diagnostics_Validation_CheckEquality",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 207.3 kB / 16.79 MB, free: 6.84 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.218/1.218, allocations: 222.9 MB / 240.5 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6112/0.6112, allocations: 115.3 MB / 405.9 MB, free: 2.793 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 56.38 kB / 493 MB, free: 6.73 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1101, allocations: 76.19 MB / 0.5558 GB, free: 10.74 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Diagnostics.Validation.CheckEquality): time 0.002216/0.1123, allocations: 1.572 MB / 0.5574 GB, free: 9.156 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005643/0.1129, allocations: 427 kB / 0.5578 GB, free: 8.734 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.341e-05/0.1129, allocations: 4 kB / 0.5578 GB, free: 8.73 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.037e-05/0.113, allocations: 0 / 0.5578 GB, free: 8.73 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.318e-05/0.113, allocations: 3.938 kB / 0.5578 GB, free: 8.727 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001544/0.1132, allocations: 23.92 kB / 0.5578 GB, free: 8.703 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.973e-05/0.1133, allocations: 47.91 kB / 0.5579 GB, free: 8.656 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.175e-05/0.1134, allocations: 11.98 kB / 0.5579 GB, free: 8.645 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.434e-05/0.1135, allocations: 19.92 kB / 0.5579 GB, free: 8.625 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.048e-05/0.1135, allocations: 23.86 kB / 0.5579 GB, free: 8.602 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.472e-05/0.1135, allocations: 0 / 0.5579 GB, free: 8.602 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.12e-05/0.1135, allocations: 4 kB / 0.5579 GB, free: 8.598 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.824e-05/0.1136, allocations: 11.97 kB / 0.5579 GB, free: 8.586 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.754e-05/0.1136, allocations: 19.88 kB / 0.5579 GB, free: 8.566 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 6.797e-05/0.1137, allocations: 43.83 kB / 0.558 GB, free: 8.523 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.1137, allocations: 0 / 0.558 GB, free: 8.523 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.1137, allocations: 0 / 0.558 GB, free: 8.523 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.286e-06/0.1137, allocations: 3.938 kB / 0.558 GB, free: 8.52 MB / 430.1 MB 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.0004117/0.1141, allocations: 363.5 kB / 0.5583 GB, free: 8.117 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.1141, allocations: 12.03 kB / 0.5584 GB, free: 8.105 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.108e-05/0.1142, allocations: 34.75 kB / 0.5584 GB, free: 8.062 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.386e-05/0.1142, allocations: 16.78 kB / 0.5584 GB, free: 8.047 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.158e-05/0.1143, allocations: 168.4 kB / 0.5586 GB, free: 7.844 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.1143, allocations: 4.375 kB / 0.5586 GB, free: 7.84 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.295e-06/0.1143, allocations: 384 / 0.5586 GB, free: 7.84 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001752/0.1145, allocations: 69.8 kB / 0.5586 GB, free: 7.766 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.671e-06/0.1145, allocations: 0 / 0.5586 GB, free: 7.766 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-06/0.1146, allocations: 0 / 0.5586 GB, free: 7.766 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.1146, allocations: 4 kB / 0.5586 GB, free: 7.762 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001668/0.1147, allocations: 43.91 kB / 0.5587 GB, free: 7.719 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003644/0.1151, allocations: 300.7 kB / 0.559 GB, free: 7.375 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002748/0.1154, allocations: 66.47 kB / 0.559 GB, free: 7.301 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.437e-05/0.1155, allocations: 28.89 kB / 0.5591 GB, free: 7.27 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.034e-05/0.1155, allocations: 0 / 0.5591 GB, free: 7.27 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.664e-05/0.1155, allocations: 34.56 kB / 0.5591 GB, free: 7.227 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 7.92e-07/0.1155, allocations: 0 / 0.5591 GB, free: 7.227 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003147/0.1158, allocations: 81.56 kB / 0.5592 GB, free: 7.141 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.087e-05/0.1159, allocations: 59.39 kB / 0.5592 GB, free: 7.07 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.642e-05/0.116, allocations: 125.8 kB / 0.5593 GB, free: 6.938 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.112e-05/0.116, allocations: 25.7 kB / 0.5594 GB, free: 6.906 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.546e-05/0.116, allocations: 88.14 kB / 0.5595 GB, free: 6.816 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.506e-05/0.116, allocations: 11.83 kB / 0.5595 GB, free: 6.805 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.087e-05/0.1161, allocations: 17.72 kB / 0.5595 GB, free: 6.781 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.446e-05/0.1162, allocations: 318.8 kB / 0.5598 GB, free: 6.461 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.214e-05/0.1163, allocations: 15.98 kB / 0.5598 GB, free: 6.445 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.361e-05/0.1163, allocations: 19.98 kB / 0.5598 GB, free: 6.426 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001401/0.1165, allocations: 40.83 kB / 0.5599 GB, free: 6.383 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.1165, allocations: 0 / 0.5599 GB, free: 6.383 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001823/0.1167, allocations: 73.56 kB / 0.5599 GB, free: 6.305 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/0.1167, allocations: 4 kB / 0.5599 GB, free: 6.301 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/0.1167, allocations: 0 / 0.5599 GB, free: 6.301 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.658e-06/0.1167, allocations: 0 / 0.5599 GB, free: 6.301 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.302e-05/0.1168, allocations: 15.94 kB / 0.5599 GB, free: 6.285 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.1168, allocations: 11.97 kB / 0.56 GB, free: 6.273 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.735e-05/0.1169, allocations: 4 kB / 0.56 GB, free: 6.27 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.756e-06/0.1169, allocations: 3.938 kB / 0.56 GB, free: 6.266 MB / 430.1 MB 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.168e-05/0.1169, allocations: 113.8 kB / 0.5601 GB, free: 6.145 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.489e-05/0.117, allocations: 3.906 kB / 0.5601 GB, free: 6.141 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.783e-05/0.117, allocations: 15.89 kB / 0.5601 GB, free: 6.121 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.117, allocations: 3.938 kB / 0.5601 GB, free: 6.117 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.117, allocations: 0 / 0.5601 GB, free: 6.117 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/0.117, allocations: 4 kB / 0.5601 GB, free: 6.113 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001427/0.1172, allocations: 173.7 kB / 0.5603 GB, free: 5.895 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1172, allocations: 0 / 0.5603 GB, free: 5.895 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.746e-05/0.1173, allocations: 11.98 kB / 0.5603 GB, free: 5.883 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1173, allocations: 0 / 0.5603 GB, free: 5.883 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.202e-06/0.1173, allocations: 0 / 0.5603 GB, free: 5.883 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1173, allocations: 4 kB / 0.5603 GB, free: 5.879 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1173, allocations: 0 / 0.5603 GB, free: 5.879 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002217/0.1175, allocations: 179.3 kB / 0.5605 GB, free: 5.688 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.948e-05/0.1175, allocations: 81.11 kB / 0.5605 GB, free: 5.59 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.36e-05/0.1176, allocations: 0 / 0.5605 GB, free: 5.59 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.962e-05/0.1176, allocations: 11.92 kB / 0.5605 GB, free: 5.578 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.472e-05/0.1177, allocations: 4.375 kB / 0.5605 GB, free: 5.574 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-06/0.1177, allocations: 0 / 0.5605 GB, free: 5.574 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.781e-05/0.1177, allocations: 107 kB / 0.5606 GB, free: 5.473 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1177, allocations: 0 / 0.5606 GB, free: 5.473 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002015/0.1179, allocations: 11.94 kB / 0.5607 GB, free: 5.461 MB / 430.1 MB 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.000414/0.1184, allocations: 0.6968 MB / 0.5613 GB, free: 4.738 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001848/0.1186, allocations: 39.91 kB / 0.5614 GB, free: 4.699 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1186, allocations: 4 kB / 0.5614 GB, free: 4.695 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.093e-05/0.1187, allocations: 23.98 kB / 0.5614 GB, free: 4.672 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002345/0.1189, allocations: 9.609 kB / 0.5614 GB, free: 4.664 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001245/0.1202, allocations: 1.353 MB / 0.5627 GB, free: 3.227 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001875/0.1203, allocations: 0.6809 MB / 0.5634 GB, free: 2.52 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.375e-05/0.1204, allocations: 4 kB / 0.5634 GB, free: 2.516 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.541e-05/0.1204, allocations: 19.36 kB / 0.5634 GB, free: 2.496 MB / 430.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1204, allocations: 0 / 0.5634 GB, free: 2.496 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2374/0.3578, allocations: 1.32 MB / 0.5647 GB, free: 1.281 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001646/0.358, allocations: 208.4 kB / 0.5649 GB, free: 1.023 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.766/2.124, allocations: 64 / 0.5649 GB, free: 1.023 MB / 430.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Diagnostics.Validation.CheckEquality.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Diagnostics_Validation_CheckEquality_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Diagnostics_Validation_CheckEquality.fmu > IBPSA_latest_IBPSA.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1)