Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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.001453/0.001453, allocations: 105.7 kB / 17.54 MB, free: 4.746 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.001404/0.001404, allocations: 185.9 kB / 20.71 MB, free: 1.586 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.298/1.298, allocations: 225.6 MB / 249.3 MB, free: 3.199 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.438/2.438, allocations: 476.7 MB / 0.7628 GB, free: 15.17 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_11_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_11_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001787/0.001787, allocations: 55.91 kB / 1.107 GB, free: 5.207 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7991/0.8009, allocations: 168.7 MB / 1.271 GB, free: 7.703 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004155/0.805, allocations: 4.067 MB / 1.275 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001475/0.8052, allocations: 151.3 kB / 1.275 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.799e-05/0.8052, allocations: 0 / 1.275 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 9.079e-05/0.8053, allocations: 8.969 kB / 1.275 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.575e-05/0.8054, allocations: 13.95 kB / 1.275 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002848/0.8056, allocations: 78.45 kB / 1.276 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.771e-05/0.8057, allocations: 39.19 kB / 1.276 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.743e-05/0.8058, allocations: 4.859 kB / 1.276 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.321e-05/0.8058, allocations: 15.42 kB / 1.276 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.312e-05/0.8059, allocations: 8.656 kB / 1.276 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.14e-05/0.8059, allocations: 5.094 kB / 1.276 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001659/0.806, allocations: 63.91 kB / 1.276 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.898e-05/0.8061, allocations: 12.58 kB / 1.276 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.821e-05/0.8061, allocations: 13.92 kB / 1.276 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001226/0.8062, allocations: 48.17 kB / 1.276 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.8062, allocations: 0.7812 kB / 1.276 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.443e-06/0.8062, allocations: 0 / 1.276 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.088e-06/0.8062, allocations: 0 / 1.276 GB, free: 4.559 MB / 0.9981 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.0002733/0.8065, allocations: 333.3 kB / 1.276 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.8065, allocations: 15.08 kB / 1.276 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.122e-05/0.8066, allocations: 32.53 kB / 1.276 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.736e-05/0.8066, allocations: 1.688 kB / 1.276 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.122e-05/0.8067, allocations: 167.8 kB / 1.276 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.744e-05/0.8067, allocations: 27.48 kB / 1.276 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.092e-05/0.8067, allocations: 5.406 kB / 1.276 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001105/0.8068, allocations: 42.91 kB / 1.276 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.223e-06/0.8068, allocations: 0.9062 kB / 1.276 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.8068, allocations: 0 / 1.276 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.923e-05/0.8069, allocations: 9.562 kB / 1.276 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.267e-05/0.8069, allocations: 13.39 kB / 1.276 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003166/0.8072, allocations: 335.8 kB / 1.277 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.438e-05/0.8072, allocations: 18.84 kB / 1.277 GB, free: 3.488 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.279e-05/0.8073, allocations: 9.766 kB / 1.277 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.346e-05/0.8073, allocations: 83.11 kB / 1.277 GB, free: 3.383 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.626e-05/0.8073, allocations: 36.31 kB / 1.277 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.8073, allocations: 3.938 kB / 1.277 GB, free: 3.336 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0001185/0.8075, allocations: 33.45 kB / 1.277 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.809e-05/0.8075, allocations: 53.81 kB / 1.277 GB, free: 3.242 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.48e-05/0.8075, allocations: 101.2 kB / 1.277 GB, free: 3.141 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.345e-06/0.8075, allocations: 26.73 kB / 1.277 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.675e-05/0.8076, allocations: 94.22 kB / 1.277 GB, free: 3.016 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.189e-06/0.8076, allocations: 12.92 kB / 1.277 GB, free: 3.004 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.568e-05/0.8076, allocations: 15 kB / 1.277 GB, free: 2.988 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.848e-05/0.8076, allocations: 320.3 kB / 1.277 GB, free: 2.668 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.413e-05/0.8077, allocations: 8.938 kB / 1.277 GB, free: 2.664 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.791e-05/0.8077, allocations: 13.97 kB / 1.278 GB, free: 2.648 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.999e-05/0.8077, allocations: 29.81 kB / 1.278 GB, free: 2.621 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.8077, allocations: 0 / 1.278 GB, free: 2.621 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.343e-05/0.8078, allocations: 46.05 kB / 1.278 GB, free: 2.586 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.8078, allocations: 4.906 kB / 1.278 GB, free: 2.586 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.8078, allocations: 0.6875 kB / 1.278 GB, free: 2.586 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.8078, allocations: 0.7812 kB / 1.278 GB, free: 2.586 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.277e-05/0.8078, allocations: 6.156 kB / 1.278 GB, free: 2.586 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.8078, allocations: 0.8125 kB / 1.278 GB, free: 2.586 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.884e-05/0.8079, allocations: 14.56 kB / 1.278 GB, free: 2.574 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.298e-06/0.8079, allocations: 1.5 kB / 1.278 GB, free: 2.574 MB / 0.9981 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 4.121e-05/0.8079, allocations: 116 kB / 1.278 GB, free: 2.453 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.514e-05/0.8079, allocations: 2.188 kB / 1.278 GB, free: 2.453 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.736e-05/0.808, allocations: 126.8 kB / 1.278 GB, free: 2.328 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-05/0.808, allocations: 176.8 kB / 1.278 GB, free: 2.148 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.282e-05/0.8081, allocations: 179.8 kB / 1.278 GB, free: 1.969 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.157e-05/0.8081, allocations: 184.9 kB / 1.278 GB, free: 1.781 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001198/0.8082, allocations: 412.1 kB / 1.279 GB, free: 1.328 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.175e-05/0.8082, allocations: 108.2 kB / 1.279 GB, free: 1.219 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.608e-05/0.8082, allocations: 102.2 kB / 1.279 GB, free: 1.113 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.362e-05/0.8083, allocations: 177.2 kB / 1.279 GB, free: 0.9336 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.294e-05/0.8083, allocations: 187.2 kB / 1.279 GB, free: 0.7461 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.056e-05/0.8083, allocations: 177.2 kB / 1.279 GB, free: 16.57 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.09e-05/0.8084, allocations: 185.2 kB / 1.28 GB, free: 16.38 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001387/0.8086, allocations: 311.7 kB / 1.28 GB, free: 16.06 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 8.152e-05/0.8086, allocations: 179.5 kB / 1.28 GB, free: 15.86 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.404e-05/0.8087, allocations: 190 kB / 1.28 GB, free: 15.67 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001474/0.8089, allocations: 110.2 kB / 1.28 GB, free: 15.56 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.434e-05/0.8089, allocations: 178.4 kB / 1.281 GB, free: 15.38 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.984e-05/0.809, allocations: 105.7 kB / 1.281 GB, free: 15.27 MB / 1.014 GB Notification: Performance of sorting global known variables: time 5.862e-05/0.809, allocations: 85.69 kB / 1.281 GB, free: 15.19 MB / 1.014 GB Notification: Performance of sort global known variables: time 6e-08/0.809, allocations: 0.875 kB / 1.281 GB, free: 15.19 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002325/0.8093, allocations: 21.14 kB / 1.281 GB, free: 15.18 MB / 1.014 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.0005537/0.8098, allocations: 0.8323 MB / 1.282 GB, free: 14.37 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 6.504e-05/0.8099, allocations: 9.562 kB / 1.282 GB, free: 14.36 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.8099, allocations: 4.062 kB / 1.282 GB, free: 14.36 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.493e-06/0.8099, allocations: 0.8438 kB / 1.282 GB, free: 14.36 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004073/0.8103, allocations: 463.7 kB / 1.282 GB, free: 13.91 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009593/0.8113, allocations: 1.322 MB / 1.283 GB, free: 12.58 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002622/0.8115, allocations: 0.6764 MB / 1.284 GB, free: 11.88 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.431e-05/0.8116, allocations: 7.625 kB / 1.284 GB, free: 11.88 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.745e-05/0.8116, allocations: 9.719 kB / 1.284 GB, free: 11.87 MB / 1.014 GB Notification: Performance of SimCode: time 3.61e-07/0.8116, allocations: 0 / 1.284 GB, free: 11.87 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02235/0.8339, allocations: 1.498 MB / 1.285 GB, free: 11.48 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.983/7.816, allocations: 11.45 kB / 1.285 GB, free: 11.48 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_11_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.fmu > Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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: 13.026872952001213]