Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.001913/0.001913, allocations: 103.6 kB / 16.45 MB, free: 6.445 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.002175/0.002175, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.516/1.516, allocations: 225.6 MB / 247.8 MB, free: 3.75 MB / 190.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.62/2.62, allocations: 443.5 MB / 0.7287 GB, free: 14.52 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.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_10_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_10_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 63.91 kB / 1.056 GB, free: 2.504 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3465/0.3485, allocations: 160.7 MB / 1.213 GB, free: 1.469 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005731/0.3542, allocations: 3.759 MB / 1.217 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0002119/0.3544, allocations: 147.5 kB / 1.217 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.372e-05/0.3545, allocations: 7.938 kB / 1.217 GB, free: 13.53 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 9.228e-05/0.3546, allocations: 3.938 kB / 1.217 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.253e-05/0.3546, allocations: 19.91 kB / 1.217 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003291/0.355, allocations: 75.75 kB / 1.217 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.667e-05/0.355, allocations: 31.84 kB / 1.217 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.16e-05/0.3551, allocations: 12 kB / 1.217 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.708e-05/0.3551, allocations: 11.98 kB / 1.217 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.852e-05/0.3552, allocations: 19.92 kB / 1.217 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.058e-05/0.3552, allocations: 3.938 kB / 1.217 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005349/0.3557, allocations: 183.4 kB / 1.217 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.65e-05/0.3558, allocations: 7.984 kB / 1.217 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.419e-05/0.3558, allocations: 11.98 kB / 1.217 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000123/0.3559, allocations: 48.11 kB / 1.217 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3559, allocations: 0 / 1.217 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.222e-06/0.3559, allocations: 0 / 1.217 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.147e-06/0.3559, allocations: 0 / 1.217 GB, free: 13.11 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004279/0.3564, allocations: 343.5 kB / 1.217 GB, free: 12.72 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.3564, allocations: 8.031 kB / 1.217 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.987e-05/0.3564, allocations: 30.75 kB / 1.217 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.163e-05/0.3565, allocations: 4.938 kB / 1.217 GB, free: 12.67 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001424/0.3566, allocations: 164.3 kB / 1.218 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.324e-05/0.3567, allocations: 30.25 kB / 1.218 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.195e-05/0.3567, allocations: 4.125 kB / 1.218 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001294/0.3568, allocations: 49.62 kB / 1.218 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.3568, allocations: 4 kB / 1.218 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.3568, allocations: 0 / 1.218 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.692e-05/0.3569, allocations: 0 / 1.218 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.775e-05/0.3569, allocations: 19.98 kB / 1.218 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004811/0.3574, allocations: 334 kB / 1.218 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 4.51e-05/0.3575, allocations: 18.58 kB / 1.218 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.527e-05/0.3575, allocations: 4.859 kB / 1.218 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 9.81e-05/0.3576, allocations: 89.11 kB / 1.218 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.56e-05/0.3576, allocations: 38.56 kB / 1.218 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.3576, allocations: 3.938 kB / 1.218 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001471/0.3578, allocations: 37.69 kB / 1.218 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.068e-05/0.3578, allocations: 55.34 kB / 1.218 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.852e-05/0.3579, allocations: 101.8 kB / 1.218 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.3579, allocations: 29.83 kB / 1.218 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.619e-05/0.358, allocations: 88.09 kB / 1.219 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 6.733e-06/0.358, allocations: 4 kB / 1.219 GB, free: 11.42 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.35e-05/0.358, allocations: 17.67 kB / 1.219 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001575/0.3582, allocations: 322.8 kB / 1.219 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.262e-05/0.3582, allocations: 0 / 1.219 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.695e-05/0.3582, allocations: 17.66 kB / 1.219 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.042e-05/0.3583, allocations: 25.72 kB / 1.219 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3583, allocations: 0 / 1.219 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.268e-05/0.3584, allocations: 49.62 kB / 1.219 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.3584, allocations: 8 kB / 1.219 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.3584, allocations: 0 / 1.219 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.3584, allocations: 0 / 1.219 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.971e-05/0.3585, allocations: 7.984 kB / 1.219 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.3585, allocations: 0 / 1.219 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.687e-05/0.3585, allocations: 4.062 kB / 1.219 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.3585, allocations: 4 kB / 1.219 GB, free: 10.94 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 9.123e-05/0.3586, allocations: 113.8 kB / 1.219 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.453e-05/0.3586, allocations: 0 / 1.219 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001295/0.3587, allocations: 128.9 kB / 1.219 GB, free: 10.69 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.393e-05/0.3588, allocations: 176.3 kB / 1.219 GB, free: 10.51 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.717e-05/0.3589, allocations: 188.2 kB / 1.22 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.5e-05/0.359, allocations: 180.3 kB / 1.22 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002889/0.3593, allocations: 405.2 kB / 1.22 GB, free: 9.68 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.696e-05/0.3593, allocations: 108.9 kB / 1.22 GB, free: 9.566 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.453e-05/0.3594, allocations: 105 kB / 1.22 GB, free: 9.457 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.747e-05/0.3594, allocations: 184.2 kB / 1.22 GB, free: 9.27 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.346e-05/0.3595, allocations: 180.3 kB / 1.221 GB, free: 9.086 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.169e-05/0.3596, allocations: 180.3 kB / 1.221 GB, free: 8.902 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.589e-05/0.3597, allocations: 180.2 kB / 1.221 GB, free: 8.719 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001881/0.3599, allocations: 319.6 kB / 1.221 GB, free: 8.383 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 9.657e-05/0.36, allocations: 182.1 kB / 1.221 GB, free: 8.18 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.823e-05/0.3601, allocations: 184.2 kB / 1.222 GB, free: 7.992 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001625/0.3603, allocations: 108.9 kB / 1.222 GB, free: 7.879 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.407e-05/0.3603, allocations: 180.3 kB / 1.222 GB, free: 7.695 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.029e-05/0.3604, allocations: 104.9 kB / 1.222 GB, free: 7.586 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.249e-05/0.3605, allocations: 91.27 kB / 1.222 GB, free: 7.496 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.3605, allocations: 4 kB / 1.222 GB, free: 7.492 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000258/0.3607, allocations: 19.88 kB / 1.222 GB, free: 7.473 MB / 0.9669 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 (0): * Single equations (assignments): 0 * 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.0006215/0.3613, allocations: 0.8321 MB / 1.223 GB, free: 6.613 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 7.164e-05/0.3614, allocations: 11.94 kB / 1.223 GB, free: 6.602 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3614, allocations: 0 / 1.223 GB, free: 6.602 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 3.717e-06/0.3614, allocations: 8 kB / 1.223 GB, free: 6.594 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005496/0.362, allocations: 461.7 kB / 1.223 GB, free: 6.141 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001234/0.3632, allocations: 1.309 MB / 1.225 GB, free: 4.746 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003403/0.3635, allocations: 0.6768 MB / 1.225 GB, free: 4.043 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.241e-05/0.3636, allocations: 7.938 kB / 1.225 GB, free: 4.035 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.776e-05/0.3636, allocations: 15.44 kB / 1.225 GB, free: 4.02 MB / 0.9669 GB Notification: Performance of SimCode: time 2.81e-07/0.3636, allocations: 0 / 1.225 GB, free: 4.02 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02454/0.3882, allocations: 1.522 MB / 1.227 GB, free: 2.645 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.898/8.286, allocations: 0.5 kB / 1.227 GB, free: 2.645 MB / 0.9669 GB " [Timeout remaining time 292] (rm -f Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_10_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.472914366982877]