Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",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.003896/0.003896, allocations: 97.98 kB / 15.73 MB, free: 5.605 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.001125/0.001125, allocations: 192.4 kB / 16.67 MB, free: 5.527 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.263/1.263, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.462/2.462, allocations: 482.6 MB / 0.7551 GB, free: 6.598 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.00166/0.00166, allocations: 70.86 kB / 1.083 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2518/0.2535, allocations: 162.3 MB / 1.242 GB, free: 8.918 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.004513/0.258, allocations: 3.715 MB / 1.245 GB, free: 5.18 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.000176/0.2582, allocations: 167.4 kB / 1.246 GB, free: 5.016 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.782e-05/0.2583, allocations: 0 / 1.246 GB, free: 5.016 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 6.941e-05/0.2583, allocations: 0 / 1.246 GB, free: 5.016 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.521e-05/0.2584, allocations: 15.92 kB / 1.246 GB, free: 5 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002668/0.2587, allocations: 86.94 kB / 1.246 GB, free: 4.918 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.481e-05/0.2588, allocations: 31.91 kB / 1.246 GB, free: 4.887 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 2.806e-05/0.2588, allocations: 0 / 1.246 GB, free: 4.887 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.233e-05/0.2588, allocations: 15.98 kB / 1.246 GB, free: 4.871 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.652e-05/0.2589, allocations: 19.86 kB / 1.246 GB, free: 4.852 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.239e-05/0.2589, allocations: 4 kB / 1.246 GB, free: 4.848 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004411/0.2593, allocations: 192.8 kB / 1.246 GB, free: 4.66 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.14e-05/0.2594, allocations: 7.984 kB / 1.246 GB, free: 4.652 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.073e-05/0.2594, allocations: 4 kB / 1.246 GB, free: 4.648 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001046/0.2595, allocations: 48.11 kB / 1.246 GB, free: 4.602 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.2595, allocations: 3.938 kB / 1.246 GB, free: 4.598 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.042e-06/0.2595, allocations: 0 / 1.246 GB, free: 4.598 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.146e-06/0.2595, allocations: 0 / 1.246 GB, free: 4.598 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.0003243/0.2599, allocations: 341 kB / 1.246 GB, free: 4.219 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 2.671e-05/0.2599, allocations: 12.03 kB / 1.246 GB, free: 4.207 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.987e-05/0.2599, allocations: 30.75 kB / 1.246 GB, free: 4.168 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.478e-05/0.26, allocations: 4.938 kB / 1.246 GB, free: 4.164 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/0.2601, allocations: 164.4 kB / 1.247 GB, free: 3.965 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.488e-05/0.2601, allocations: 26.27 kB / 1.247 GB, free: 3.934 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.203e-06/0.2601, allocations: 4.125 kB / 1.247 GB, free: 3.93 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001023/0.2603, allocations: 53.62 kB / 1.247 GB, free: 3.871 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.022e-06/0.2603, allocations: 0 / 1.247 GB, free: 3.871 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.324e-06/0.2603, allocations: 0 / 1.247 GB, free: 3.871 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.265e-05/0.2603, allocations: 7.984 kB / 1.247 GB, free: 3.863 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.96e-05/0.2603, allocations: 15.98 kB / 1.247 GB, free: 3.848 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003624/0.2607, allocations: 337.9 kB / 1.247 GB, free: 3.449 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 3.227e-05/0.2608, allocations: 22.58 kB / 1.247 GB, free: 3.418 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.309e-05/0.2608, allocations: 12.73 kB / 1.247 GB, free: 3.402 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 7.603e-05/0.2609, allocations: 81.17 kB / 1.247 GB, free: 3.305 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.011e-05/0.2609, allocations: 38.56 kB / 1.247 GB, free: 3.258 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.2609, allocations: 0 / 1.247 GB, free: 3.258 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001139/0.261, allocations: 33.69 kB / 1.247 GB, free: 3.219 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.01e-05/0.261, allocations: 51.41 kB / 1.247 GB, free: 3.156 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.141e-05/0.2611, allocations: 105.8 kB / 1.247 GB, free: 3.043 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.354e-05/0.2611, allocations: 25.7 kB / 1.247 GB, free: 3.012 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.605e-05/0.2612, allocations: 92.08 kB / 1.247 GB, free: 2.918 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.98e-06/0.2612, allocations: 4.125 kB / 1.247 GB, free: 2.914 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.003e-05/0.2612, allocations: 17.72 kB / 1.247 GB, free: 2.891 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.2614, allocations: 326.7 kB / 1.248 GB, free: 2.562 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.137e-05/0.2614, allocations: 0 / 1.248 GB, free: 2.562 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.001e-05/0.2614, allocations: 13.72 kB / 1.248 GB, free: 2.543 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.976e-05/0.2614, allocations: 21.72 kB / 1.248 GB, free: 2.516 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.2614, allocations: 4 kB / 1.248 GB, free: 2.512 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.06e-05/0.2615, allocations: 53.58 kB / 1.248 GB, free: 2.453 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.025e-05/0.2615, allocations: 8 kB / 1.248 GB, free: 2.445 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.745e-06/0.2615, allocations: 0 / 1.248 GB, free: 2.445 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.2615, allocations: 0 / 1.248 GB, free: 2.445 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.641e-05/0.2616, allocations: 7.984 kB / 1.248 GB, free: 2.438 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.2616, allocations: 4 kB / 1.248 GB, free: 2.434 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.432e-05/0.2616, allocations: 0 / 1.248 GB, free: 2.434 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.191e-06/0.2616, allocations: 0 / 1.248 GB, free: 2.434 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 6.947e-05/0.2617, allocations: 118.4 kB / 1.248 GB, free: 2.309 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.153e-05/0.2617, allocations: 3.938 kB / 1.248 GB, free: 2.305 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.313e-05/0.2618, allocations: 128.9 kB / 1.248 GB, free: 2.172 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.145e-05/0.2619, allocations: 176.3 kB / 1.248 GB, free: 1.992 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.369e-05/0.262, allocations: 180.2 kB / 1.248 GB, free: 1.809 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.381e-05/0.262, allocations: 184.3 kB / 1.249 GB, free: 1.621 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002172/0.2622, allocations: 409.1 kB / 1.249 GB, free: 1.164 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.915e-05/0.2623, allocations: 105 kB / 1.249 GB, free: 1.055 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.721e-05/0.2623, allocations: 105 kB / 1.249 GB, free: 0.9453 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.214e-05/0.2624, allocations: 180.2 kB / 1.249 GB, free: 0.7617 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.464e-05/0.2625, allocations: 176.3 kB / 1.25 GB, free: 0.582 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.819e-05/0.2625, allocations: 192.2 kB / 1.25 GB, free: 396 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.787e-05/0.2626, allocations: 180.2 kB / 1.25 GB, free: 208 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000146/0.2628, allocations: 307.7 kB / 1.25 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.551e-05/0.2628, allocations: 186 kB / 1.25 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.608e-05/0.2629, allocations: 188.2 kB / 1.251 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001364/0.2631, allocations: 109 kB / 1.251 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.024e-05/0.2631, allocations: 184.3 kB / 1.251 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.295e-05/0.2632, allocations: 104.9 kB / 1.251 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.955e-05/0.2632, allocations: 87.27 kB / 1.251 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2632, allocations: 0 / 1.251 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000211/0.2635, allocations: 19.88 kB / 1.251 GB, free: 14.96 MB / 0.9825 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.0004425/0.2639, allocations: 0.8282 MB / 1.252 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 5.217e-05/0.264, allocations: 7.938 kB / 1.252 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.264, allocations: 128 / 1.252 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.775e-06/0.264, allocations: 11.98 kB / 1.252 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003438/0.2643, allocations: 459.7 kB / 1.252 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008751/0.2652, allocations: 1.309 MB / 1.254 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002467/0.2655, allocations: 0.6807 MB / 1.254 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.033e-05/0.2655, allocations: 4 kB / 1.254 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.641e-05/0.2655, allocations: 7.438 kB / 1.254 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of SimCode: time 2.1e-07/0.2655, allocations: 0 / 1.254 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.388/2.654, allocations: 1.536 MB / 1.256 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.62/19.28, allocations: 3.859 kB / 1.256 GB, free: 10.14 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches