Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.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.001844/0.001844, allocations: 111.9 kB / 16.46 MB, free: 6.504 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.002125/0.002125, allocations: 195.8 kB / 19.41 MB, free: 3.668 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.422/1.422, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.128/3.128, allocations: 497.2 MB / 0.7811 GB, free: 33.64 MB / 0.6231 GB " [Timeout remaining time 177] 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.AirTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001871/0.001871, allocations: 68.17 kB / 1.134 GB, free: 33.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3138/0.3157, allocations: 173.9 MB / 1.304 GB, free: 1.562 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1844/0.5001, allocations: 148.7 MB / 1.449 GB, free: 12.27 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.0001597/0.5003, allocations: 55.84 kB / 1.449 GB, free: 12.21 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.668e-05/0.5003, allocations: 0 / 1.449 GB, free: 12.21 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0001276/0.5004, allocations: 3.938 kB / 1.449 GB, free: 12.21 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 8.273e-05/0.5005, allocations: 19.91 kB / 1.449 GB, free: 12.19 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007829/0.5013, allocations: 211.2 kB / 1.449 GB, free: 11.98 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 9.458e-05/0.5014, allocations: 35.84 kB / 1.449 GB, free: 11.95 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 4.233e-05/0.5014, allocations: 4 kB / 1.449 GB, free: 11.95 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 3.436e-05/0.5015, allocations: 11.98 kB / 1.449 GB, free: 11.93 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 7.724e-05/0.5015, allocations: 19.92 kB / 1.45 GB, free: 11.91 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 1.144e-05/0.5015, allocations: 0 / 1.45 GB, free: 11.91 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004459/0.502, allocations: 215.3 kB / 1.45 GB, free: 11.7 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 4.355e-05/0.502, allocations: 4 kB / 1.45 GB, free: 11.7 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 2.991e-05/0.5021, allocations: 15.92 kB / 1.45 GB, free: 11.68 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0002502/0.5023, allocations: 119.9 kB / 1.45 GB, free: 11.57 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.5023, allocations: 0 / 1.45 GB, free: 11.57 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.152e-06/0.5023, allocations: 0 / 1.45 GB, free: 11.57 MB / 1.154 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.5023, allocations: 0 / 1.45 GB, free: 11.57 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.0005102/0.5028, allocations: 347.3 kB / 1.45 GB, free: 11.18 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/0.5029, allocations: 8.625 kB / 1.45 GB, free: 11.17 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.163e-05/0.5029, allocations: 34.75 kB / 1.45 GB, free: 11.13 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003467/0.5033, allocations: 24.91 kB / 1.45 GB, free: 11.11 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001604/0.5034, allocations: 168.1 kB / 1.45 GB, free: 10.9 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.73e-05/0.5035, allocations: 33.67 kB / 1.45 GB, free: 10.86 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.638e-06/0.5035, allocations: 4 kB / 1.45 GB, free: 10.86 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001723/0.5037, allocations: 45.69 kB / 1.45 GB, free: 10.81 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.5037, allocations: 0 / 1.45 GB, free: 10.81 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.5037, allocations: 0 / 1.45 GB, free: 10.81 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.047e-05/0.5037, allocations: 7.938 kB / 1.45 GB, free: 10.8 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.992e-05/0.5038, allocations: 19.98 kB / 1.451 GB, free: 10.78 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004667/0.5043, allocations: 268.9 kB / 1.451 GB, free: 10.47 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 6.828e-05/0.5043, allocations: 22.58 kB / 1.451 GB, free: 10.44 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.213e-05/0.5043, allocations: 4.859 kB / 1.451 GB, free: 10.43 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001968/0.5045, allocations: 93.16 kB / 1.451 GB, free: 10.32 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.281e-05/0.5046, allocations: 42.5 kB / 1.451 GB, free: 10.27 MB / 1.154 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.5046, allocations: 3.938 kB / 1.451 GB, free: 10.27 MB / 1.154 GB Notification: Performance of matching and sorting (n=2): time 0.0002811/0.5049, allocations: 49.64 kB / 1.451 GB, free: 10.21 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.326e-05/0.5049, allocations: 59.34 kB / 1.451 GB, free: 10.14 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.505, allocations: 97.84 kB / 1.451 GB, free: 10.04 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.124e-05/0.5051, allocations: 29.7 kB / 1.451 GB, free: 10 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 6.434e-05/0.5051, allocations: 88.09 kB / 1.451 GB, free: 9.91 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 1.217e-05/0.5051, allocations: 12 kB / 1.451 GB, free: 9.898 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.873e-05/0.5052, allocations: 21.72 kB / 1.451 GB, free: 9.871 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001706/0.5053, allocations: 310.8 kB / 1.452 GB, free: 9.559 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.197e-05/0.5054, allocations: 4 kB / 1.452 GB, free: 9.555 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.128e-05/0.5054, allocations: 34.5 kB / 1.452 GB, free: 9.512 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.203e-05/0.5055, allocations: 34.58 kB / 1.452 GB, free: 9.469 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.5055, allocations: 0 / 1.452 GB, free: 9.469 MB / 1.154 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.964e-05/0.5056, allocations: 53.62 kB / 1.452 GB, free: 9.41 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.5056, allocations: 4 kB / 1.452 GB, free: 9.406 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.5056, allocations: 0 / 1.452 GB, free: 9.406 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.5056, allocations: 7.938 kB / 1.452 GB, free: 9.398 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.254e-05/0.5057, allocations: 4 kB / 1.452 GB, free: 9.395 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.5057, allocations: 7.875 kB / 1.452 GB, free: 9.387 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.183e-05/0.5057, allocations: 4.094 kB / 1.452 GB, free: 9.383 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-06/0.5057, allocations: 4 kB / 1.452 GB, free: 9.379 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.000102/0.5058, allocations: 117.8 kB / 1.452 GB, free: 9.254 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.729e-05/0.5059, allocations: 0 / 1.452 GB, free: 9.254 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.292e-05/0.5059, allocations: 7.125 kB / 1.452 GB, free: 9.242 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.5059, allocations: 0 / 1.452 GB, free: 9.242 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/0.5059, allocations: 7.938 kB / 1.452 GB, free: 9.234 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.5059, allocations: 0 / 1.452 GB, free: 9.234 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004/0.5063, allocations: 367.5 kB / 1.452 GB, free: 8.812 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.5063, allocations: 0 / 1.452 GB, free: 8.812 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.788e-05/0.5063, allocations: 7.938 kB / 1.452 GB, free: 8.805 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.5063, allocations: 0 / 1.452 GB, free: 8.805 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.5063, allocations: 0 / 1.452 GB, free: 8.805 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.5064, allocations: 4 kB / 1.452 GB, free: 8.801 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.5064, allocations: 0 / 1.452 GB, free: 8.801 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.985e-05/0.5065, allocations: 74.27 kB / 1.452 GB, free: 8.707 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 6.75e-05/0.5065, allocations: 85.05 kB / 1.452 GB, free: 8.605 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.812e-05/0.5065, allocations: 0 / 1.452 GB, free: 8.605 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.427e-05/0.5066, allocations: 7.969 kB / 1.452 GB, free: 8.598 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.463e-05/0.5066, allocations: 4 kB / 1.452 GB, free: 8.594 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.876e-06/0.5066, allocations: 0 / 1.452 GB, free: 8.594 MB / 1.154 GB Notification: Performance of sorting global known variables: time 5.577e-05/0.5067, allocations: 83.28 kB / 1.452 GB, free: 8.512 MB / 1.154 GB Notification: Performance of sort global known variables: time 7e-08/0.5067, allocations: 0 / 1.452 GB, free: 8.512 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0002012/0.5069, allocations: 15.97 kB / 1.452 GB, free: 8.496 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.0005122/0.5074, allocations: 0.6132 MB / 1.453 GB, free: 7.852 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0001005/0.5075, allocations: 16.02 kB / 1.453 GB, free: 7.836 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.5075, allocations: 0 / 1.453 GB, free: 7.836 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 1.544e-05/0.5075, allocations: 7.938 kB / 1.453 GB, free: 7.828 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003043/0.5078, allocations: 13.88 kB / 1.453 GB, free: 7.816 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004258/0.5083, allocations: 137.5 kB / 1.453 GB, free: 7.641 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003358/0.5086, allocations: 0.6884 MB / 1.454 GB, free: 6.926 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 4.873e-05/0.5086, allocations: 7.984 kB / 1.454 GB, free: 6.918 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.231e-05/0.5087, allocations: 7.438 kB / 1.454 GB, free: 6.91 MB / 1.154 GB Notification: Performance of SimCode: time 3.21e-07/0.5087, allocations: 3.938 kB / 1.454 GB, free: 6.906 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0257/0.5344, allocations: 1.472 MB / 1.455 GB, free: 5.547 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.891/8.425, allocations: 6.828 kB / 1.455 GB, free: 5.543 MB / 1.154 GB " [Timeout remaining time 292] (rm -f Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_AirTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Media_Examples_AirTemperatureEnthalpyInversion.fmu > Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_AirTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 14.896849523764104]