Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001533/0.001533, allocations: 118.9 kB / 17.17 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001767/0.001767, allocations: 211.3 kB / 20.13 MB, free: 3.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.421/1.421, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.796/2.796, allocations: 0.49 GB / 0.7923 GB, free: 1.258 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="Buildings_12_Buildings_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="Buildings_12_Buildings_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002095/0.002095, allocations: 67.89 kB / 1.149 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9193/0.9214, allocations: 176.1 MB / 1.321 GB, free: 24.89 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1932/1.115, allocations: 151.6 MB / 1.469 GB, free: 10.29 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.0001834/1.115, allocations: 43.28 kB / 1.47 GB, free: 10.25 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.773e-05/1.115, allocations: 1.344 kB / 1.47 GB, free: 10.25 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.00013/1.115, allocations: 7.922 kB / 1.47 GB, free: 10.25 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 8.362e-05/1.115, allocations: 18.3 kB / 1.47 GB, free: 10.23 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007685/1.116, allocations: 222.5 kB / 1.47 GB, free: 10.08 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 8.638e-05/1.116, allocations: 28.25 kB / 1.47 GB, free: 10.07 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 3.59e-05/1.116, allocations: 1.625 kB / 1.47 GB, free: 10.07 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 4.325e-05/1.116, allocations: 21.17 kB / 1.47 GB, free: 10.05 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 6.79e-05/1.116, allocations: 18.98 kB / 1.47 GB, free: 10.04 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 1.348e-05/1.116, allocations: 1.094 kB / 1.47 GB, free: 10.04 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004474/1.116, allocations: 216 kB / 1.47 GB, free: 9.914 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 4.3e-05/1.117, allocations: 7.609 kB / 1.47 GB, free: 9.91 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 3.051e-05/1.117, allocations: 9.5 kB / 1.47 GB, free: 9.906 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0002932/1.117, allocations: 114.7 kB / 1.47 GB, free: 9.848 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 7.735e-06/1.117, allocations: 5.266 kB / 1.47 GB, free: 9.844 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.723e-06/1.117, allocations: 0 / 1.47 GB, free: 9.844 MB / 1.154 GB Notification: Performance of Transformations before backend: time 5.39e-06/1.117, allocations: 0 / 1.47 GB, free: 9.844 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004963/1.117, allocations: 350 kB / 1.47 GB, free: 9.469 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/1.117, allocations: 14.05 kB / 1.471 GB, free: 9.465 MB / 1.154 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.878e-05/1.117, allocations: 192 / 1.471 GB, free: 9.465 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.471e-05/1.117, allocations: 35.97 kB / 1.471 GB, free: 9.422 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003085/1.118, allocations: 27.88 kB / 1.471 GB, free: 9.41 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001427/1.118, allocations: 165.2 kB / 1.471 GB, free: 9.211 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.961e-05/1.118, allocations: 27.08 kB / 1.471 GB, free: 9.18 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.282e-05/1.118, allocations: 5.125 kB / 1.471 GB, free: 9.176 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001448/1.118, allocations: 57.81 kB / 1.471 GB, free: 9.125 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/1.118, allocations: 0 / 1.471 GB, free: 9.125 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.846e-05/1.118, allocations: 7.984 kB / 1.471 GB, free: 9.117 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.017e-05/1.118, allocations: 2.688 kB / 1.471 GB, free: 9.117 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.3e-05/1.118, allocations: 21.02 kB / 1.471 GB, free: 9.109 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000407/1.119, allocations: 267.6 kB / 1.471 GB, free: 8.812 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 5.856e-05/1.119, allocations: 23.39 kB / 1.471 GB, free: 8.785 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.265e-05/1.119, allocations: 7.328 kB / 1.471 GB, free: 8.777 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001653/1.119, allocations: 94.84 kB / 1.471 GB, free: 8.676 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.121e-05/1.119, allocations: 31.72 kB / 1.471 GB, free: 8.637 MB / 1.154 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/1.119, allocations: 0 / 1.471 GB, free: 8.637 MB / 1.154 GB Notification: Performance of matching and sorting (n=2): time 0.0002378/1.119, allocations: 56.47 kB / 1.471 GB, free: 8.59 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.544e-05/1.119, allocations: 55.34 kB / 1.471 GB, free: 8.523 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.726e-05/1.119, allocations: 104.2 kB / 1.471 GB, free: 8.418 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.076e-05/1.119, allocations: 27.14 kB / 1.471 GB, free: 8.387 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 5.331e-05/1.119, allocations: 85.53 kB / 1.472 GB, free: 8.301 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 7.865e-06/1.119, allocations: 3.953 kB / 1.472 GB, free: 8.297 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.003e-05/1.119, allocations: 21.92 kB / 1.472 GB, free: 8.273 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001543/1.12, allocations: 316.5 kB / 1.472 GB, free: 7.957 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.576e-05/1.12, allocations: 2.531 kB / 1.472 GB, free: 7.957 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.717e-05/1.12, allocations: 27.34 kB / 1.472 GB, free: 7.926 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.925e-05/1.12, allocations: 31.64 kB / 1.472 GB, free: 7.895 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/1.12, allocations: 0 / 1.472 GB, free: 7.895 MB / 1.154 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.046e-05/1.12, allocations: 57.09 kB / 1.472 GB, free: 7.848 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/1.12, allocations: 5.375 kB / 1.472 GB, free: 7.848 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/1.12, allocations: 5.031 kB / 1.472 GB, free: 7.844 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/1.12, allocations: 1.438 kB / 1.472 GB, free: 7.844 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.985e-05/1.12, allocations: 9.781 kB / 1.472 GB, free: 7.84 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/1.12, allocations: 1.188 kB / 1.472 GB, free: 7.84 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.873e-05/1.12, allocations: 1.219 kB / 1.472 GB, free: 7.84 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-06/1.12, allocations: 2.406 kB / 1.472 GB, free: 7.84 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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 0.0001009/1.12, allocations: 123.2 kB / 1.472 GB, free: 7.711 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.214e-05/1.12, allocations: 5.391 kB / 1.472 GB, free: 7.707 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.124e-05/1.12, allocations: 4.281 kB / 1.472 GB, free: 7.703 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/1.12, allocations: 5.312 kB / 1.472 GB, free: 7.699 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/1.12, allocations: 3.938 kB / 1.472 GB, free: 7.695 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/1.12, allocations: 0 / 1.472 GB, free: 7.695 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003576/1.12, allocations: 361.7 kB / 1.473 GB, free: 7.293 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/1.12, allocations: 8 kB / 1.473 GB, free: 7.285 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.829e-05/1.12, allocations: 4 kB / 1.473 GB, free: 7.285 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/1.12, allocations: 0 / 1.473 GB, free: 7.285 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/1.12, allocations: 1 kB / 1.473 GB, free: 7.285 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/1.12, allocations: 1.031 kB / 1.473 GB, free: 7.285 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/1.12, allocations: 0 / 1.473 GB, free: 7.285 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001113/1.121, allocations: 72.39 kB / 1.473 GB, free: 7.203 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 5.542e-05/1.121, allocations: 94.41 kB / 1.473 GB, free: 7.094 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.851e-05/1.121, allocations: 4.938 kB / 1.473 GB, free: 7.09 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.239e-05/1.121, allocations: 2.688 kB / 1.473 GB, free: 7.09 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.912e-05/1.121, allocations: 9.172 kB / 1.473 GB, free: 7.082 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/1.121, allocations: 1.062 kB / 1.473 GB, free: 7.082 MB / 1.154 GB Notification: Performance of sorting global known variables: time 5.884e-05/1.121, allocations: 79.44 kB / 1.473 GB, free: 7.008 MB / 1.154 GB Notification: Performance of sort global known variables: time 7e-08/1.121, allocations: 0 / 1.473 GB, free: 7.008 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.000197/1.121, allocations: 6.562 kB / 1.473 GB, free: 7.008 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0004986/1.122, allocations: 0.614 MB / 1.473 GB, free: 6.391 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0001037/1.122, allocations: 21.77 kB / 1.473 GB, free: 6.379 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/1.122, allocations: 4.219 kB / 1.473 GB, free: 6.375 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 1.14e-05/1.122, allocations: 3.875 kB / 1.473 GB, free: 6.375 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002872/1.122, allocations: 4.281 kB / 1.473 GB, free: 6.375 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000521/1.122, allocations: 150.8 kB / 1.474 GB, free: 6.211 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003943/1.123, allocations: 0.678 MB / 1.474 GB, free: 5.512 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 6.116e-05/1.123, allocations: 11.55 kB / 1.474 GB, free: 5.504 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.974e-05/1.123, allocations: 9.5 kB / 1.474 GB, free: 5.496 MB / 1.154 GB Notification: Performance of SimCode: time 2.8e-07/1.123, allocations: 0 / 1.474 GB, free: 5.496 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01827/1.141, allocations: 1.505 MB / 1.476 GB, free: 4.656 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.023/9.165, allocations: 11.16 kB / 1.476 GB, free: 4.648 MB / 1.154 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_12_Buildings_Media_Examples_AirTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Media_Examples_AirTemperatureEnthalpyInversion.fmu > Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_AirTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.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: 15.249028338992503]