Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.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.002099/0.002099, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.002846/0.002846, allocations: 217.7 kB / 23.03 MB, free: 4.945 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.579/1.579, allocations: 230.6 MB / 256.8 MB, free: 7.785 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 3.316/3.316, allocations: 0.49 GB / 0.7959 GB, free: 35.56 MB / 0.6231 GB " [Timeout remaining time 176] 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.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_12_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_12_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",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.001981/0.001981, allocations: 61.22 kB / 1.155 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4008/0.4028, allocations: 176.1 MB / 1.327 GB, free: 1.492 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1707/0.5735, allocations: 129.9 MB / 1.453 GB, free: 15.13 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.0001544/0.5736, allocations: 55.88 kB / 1.453 GB, free: 15.08 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.954e-05/0.5737, allocations: 0 / 1.453 GB, free: 15.08 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0001278/0.5738, allocations: 4 kB / 1.453 GB, free: 15.07 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 7.922e-05/0.5739, allocations: 11.91 kB / 1.453 GB, free: 15.06 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.000548/0.5744, allocations: 113.1 kB / 1.454 GB, free: 14.95 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0001115/0.5745, allocations: 35.91 kB / 1.454 GB, free: 14.92 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 4.305e-05/0.5746, allocations: 3.984 kB / 1.454 GB, free: 14.91 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 5.346e-05/0.5746, allocations: 11.94 kB / 1.454 GB, free: 14.9 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 9.866e-05/0.5747, allocations: 19.91 kB / 1.454 GB, free: 14.88 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 1.876e-05/0.5747, allocations: 0 / 1.454 GB, free: 14.88 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002951/0.575, allocations: 67.75 kB / 1.454 GB, free: 14.82 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 6.844e-05/0.5751, allocations: 19.97 kB / 1.454 GB, free: 14.8 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 3.766e-05/0.5751, allocations: 7.938 kB / 1.454 GB, free: 14.79 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0002075/0.5753, allocations: 68.14 kB / 1.454 GB, free: 14.72 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.5754, allocations: 3.938 kB / 1.454 GB, free: 14.72 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.322e-06/0.5754, allocations: 0 / 1.454 GB, free: 14.72 MB / 1.154 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.5754, allocations: 0 / 1.454 GB, free: 14.72 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.0004748/0.5758, allocations: 268.1 kB / 1.454 GB, free: 14.43 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.271e-05/0.5759, allocations: 12.03 kB / 1.454 GB, free: 14.42 MB / 1.154 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.978e-05/0.5759, allocations: 8.125 kB / 1.454 GB, free: 14.41 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.687e-05/0.5759, allocations: 34.75 kB / 1.454 GB, free: 14.37 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002567/0.5762, allocations: 20.92 kB / 1.454 GB, free: 14.35 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/0.5763, allocations: 114 kB / 1.454 GB, free: 14.21 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.347e-05/0.5764, allocations: 55.39 kB / 1.454 GB, free: 14.14 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.58e-05/0.5764, allocations: 3.984 kB / 1.454 GB, free: 14.14 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001687/0.5766, allocations: 71.39 kB / 1.454 GB, free: 14.06 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.5766, allocations: 0 / 1.454 GB, free: 14.06 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/0.5766, allocations: 3.984 kB / 1.454 GB, free: 14.05 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.927e-05/0.5766, allocations: 4 kB / 1.454 GB, free: 14.05 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.224e-05/0.5767, allocations: 15.98 kB / 1.454 GB, free: 14.04 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000438/0.5771, allocations: 239.9 kB / 1.455 GB, free: 13.76 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 5.4e-05/0.5772, allocations: 18.52 kB / 1.455 GB, free: 13.73 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.991e-05/0.5772, allocations: 4.859 kB / 1.455 GB, free: 13.72 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 9.057e-06/0.5772, allocations: 4.062 kB / 1.455 GB, free: 13.72 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.522e-05/0.5773, allocations: 30.56 kB / 1.455 GB, free: 13.68 MB / 1.154 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.5773, allocations: 0 / 1.455 GB, free: 13.68 MB / 1.154 GB Notification: Performance of matching and sorting (n=1): time 0.000153/0.5774, allocations: 41.58 kB / 1.455 GB, free: 13.63 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.671e-05/0.5775, allocations: 55.41 kB / 1.455 GB, free: 13.57 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.5776, allocations: 105.8 kB / 1.455 GB, free: 13.45 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.5776, allocations: 29.83 kB / 1.455 GB, free: 13.42 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 6.073e-05/0.5776, allocations: 84.09 kB / 1.455 GB, free: 13.33 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 1.102e-05/0.5776, allocations: 7.891 kB / 1.455 GB, free: 13.32 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.815e-05/0.5777, allocations: 21.7 kB / 1.455 GB, free: 13.3 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.5779, allocations: 314.8 kB / 1.455 GB, free: 12.98 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.275e-05/0.5779, allocations: 8 kB / 1.455 GB, free: 12.97 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.444e-05/0.5779, allocations: 22.56 kB / 1.455 GB, free: 12.94 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.695e-05/0.578, allocations: 30.52 kB / 1.455 GB, free: 12.9 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.578, allocations: 4 kB / 1.455 GB, free: 12.9 MB / 1.154 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001027/0.5781, allocations: 53.62 kB / 1.455 GB, free: 12.84 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.5781, allocations: 8 kB / 1.455 GB, free: 12.83 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.5781, allocations: 0 / 1.455 GB, free: 12.83 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.5781, allocations: 3.938 kB / 1.455 GB, free: 12.83 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.54e-05/0.5782, allocations: 8 kB / 1.455 GB, free: 12.82 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.5782, allocations: 7.922 kB / 1.455 GB, free: 12.81 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.073e-05/0.5782, allocations: 3.953 kB / 1.455 GB, free: 12.81 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.5782, allocations: 4 kB / 1.455 GB, free: 12.8 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.000124/0.5784, allocations: 121.9 kB / 1.456 GB, free: 12.68 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.018e-05/0.5784, allocations: 4 kB / 1.456 GB, free: 12.67 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.265e-05/0.5784, allocations: 3.156 kB / 1.456 GB, free: 12.66 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.5784, allocations: 3.938 kB / 1.456 GB, free: 12.66 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.5784, allocations: 0 / 1.456 GB, free: 12.66 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.5784, allocations: 0 / 1.456 GB, free: 12.66 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003079/0.5787, allocations: 318.1 kB / 1.456 GB, free: 12.3 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.5787, allocations: 7.938 kB / 1.456 GB, free: 12.29 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.478e-05/0.5788, allocations: 0 / 1.456 GB, free: 12.29 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.5788, allocations: 0 / 1.456 GB, free: 12.29 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.25e-06/0.5788, allocations: 0 / 1.456 GB, free: 12.29 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.5788, allocations: 4.031 kB / 1.456 GB, free: 12.29 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.135e-06/0.5788, allocations: 4 kB / 1.456 GB, free: 12.28 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.396e-05/0.5788, allocations: 61.06 kB / 1.456 GB, free: 12.2 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 1.515e-05/0.5789, allocations: 11.89 kB / 1.456 GB, free: 12.19 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.647e-05/0.5789, allocations: 0 / 1.456 GB, free: 12.19 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.579, allocations: 7.984 kB / 1.456 GB, free: 12.18 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.035e-05/0.579, allocations: 0 / 1.456 GB, free: 12.18 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.579, allocations: 4.094 kB / 1.456 GB, free: 12.18 MB / 1.154 GB Notification: Performance of sorting global known variables: time 5.25e-05/0.5791, allocations: 79.28 kB / 1.456 GB, free: 12.1 MB / 1.154 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5791, allocations: 0 / 1.456 GB, free: 12.1 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0001977/0.5793, allocations: 12.03 kB / 1.456 GB, free: 12.09 MB / 1.154 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 (1): * Single equations (assignments): 1 * 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.0003866/0.5796, allocations: 0.5968 MB / 1.457 GB, free: 11.46 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 7.666e-05/0.5797, allocations: 15.94 kB / 1.457 GB, free: 11.45 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.5797, allocations: 0 / 1.457 GB, free: 11.45 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 9.788e-06/0.5797, allocations: 7.984 kB / 1.457 GB, free: 11.44 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002495/0.58, allocations: 7.984 kB / 1.457 GB, free: 11.43 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003774/0.5804, allocations: 148.6 kB / 1.457 GB, free: 11.25 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.811e-05/0.5804, allocations: 63.28 kB / 1.457 GB, free: 11.17 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 4.781e-05/0.5805, allocations: 4 kB / 1.457 GB, free: 11.16 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.281e-05/0.5805, allocations: 11.44 kB / 1.457 GB, free: 11.15 MB / 1.154 GB Notification: Performance of SimCode: time 3.2e-07/0.5805, allocations: 3.938 kB / 1.457 GB, free: 11.15 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02259/0.6031, allocations: 1.555 MB / 1.458 GB, free: 9.742 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/12.08, allocations: 6.484 kB / 1.458 GB, free: 9.738 MB / 1.154 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_12_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.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: 19.396102454978973]