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.0008153/0.0008153, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.001002/0.001002, allocations: 165.9 kB / 22.45 MB, free: 2.113 MB / 18.57 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 0.8822/0.8822, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.678/1.678, allocations: 377.9 MB / 0.6221 GB, free: 8.656 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_12_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.981 GB, free: 2.586 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.497e-05/1.666e-05, allocations: 2.281 kB / 0.981 GB, free: 2.582 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.5323/0.5323, allocations: 130 MB / 1.108 GB, free: 24.99 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.0001114/0.5324, allocations: 45.09 kB / 1.108 GB, free: 24.97 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.295e-05/0.5325, allocations: 3.938 kB / 1.108 GB, free: 24.96 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001158/0.5326, allocations: 10.67 kB / 1.108 GB, free: 24.96 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 7.502e-05/0.5326, allocations: 17.17 kB / 1.108 GB, free: 24.95 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000398/0.533, allocations: 103.1 kB / 1.108 GB, free: 24.91 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0001189/0.5332, allocations: 37.12 kB / 1.108 GB, free: 24.89 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.177e-05/0.5332, allocations: 3.344 kB / 1.108 GB, free: 24.89 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 6.169e-05/0.5333, allocations: 22.28 kB / 1.108 GB, free: 24.88 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 7.42e-05/0.5333, allocations: 17.94 kB / 1.108 GB, free: 24.88 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 2.859e-05/0.5334, allocations: 5.375 kB / 1.108 GB, free: 24.87 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002055/0.5336, allocations: 68.91 kB / 1.108 GB, free: 24.84 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 4.959e-05/0.5336, allocations: 9.531 kB / 1.108 GB, free: 24.84 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 2.155e-05/0.5336, allocations: 6.562 kB / 1.108 GB, free: 24.84 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001529/0.5338, allocations: 79.92 kB / 1.108 GB, free: 24.82 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.5338, allocations: 1.031 kB / 1.108 GB, free: 24.82 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.694e-06/0.5338, allocations: 0.8438 kB / 1.108 GB, free: 24.82 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.5338, allocations: 0 / 1.108 GB, free: 24.82 MB / 0.9948 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.0003114/0.5341, allocations: 256.8 kB / 1.109 GB, free: 24.55 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.5342, allocations: 10.12 kB / 1.109 GB, free: 24.55 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.558e-05/0.5342, allocations: 40.2 kB / 1.109 GB, free: 24.51 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000179/0.5344, allocations: 20.78 kB / 1.109 GB, free: 24.51 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.054e-05/0.5344, allocations: 104.9 kB / 1.109 GB, free: 24.39 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.623e-05/0.5345, allocations: 57.7 kB / 1.109 GB, free: 24.32 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.838e-06/0.5345, allocations: 5.312 kB / 1.109 GB, free: 24.32 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001113/0.5346, allocations: 75.12 kB / 1.109 GB, free: 24.25 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.535e-06/0.5346, allocations: 1.859 kB / 1.109 GB, free: 24.25 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.5346, allocations: 0 / 1.109 GB, free: 24.25 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.671e-05/0.5346, allocations: 7.016 kB / 1.109 GB, free: 24.25 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.388e-05/0.5347, allocations: 17.83 kB / 1.109 GB, free: 24.24 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002596/0.5349, allocations: 225.7 kB / 1.109 GB, free: 24 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.302e-05/0.535, allocations: 21.05 kB / 1.109 GB, free: 23.98 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.58e-05/0.535, allocations: 6.781 kB / 1.109 GB, free: 23.97 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.543e-06/0.535, allocations: 4 kB / 1.109 GB, free: 23.96 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.497e-05/0.535, allocations: 32.33 kB / 1.109 GB, free: 23.93 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.535, allocations: 1.281 kB / 1.109 GB, free: 23.93 MB / 0.9948 GB Notification: Performance of matching and sorting (n=1): time 0.0001126/0.5351, allocations: 41.08 kB / 1.109 GB, free: 23.89 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.686e-05/0.5351, allocations: 52.69 kB / 1.109 GB, free: 23.82 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.191e-05/0.5352, allocations: 108.6 kB / 1.109 GB, free: 23.72 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 6.141e-06/0.5352, allocations: 26.73 kB / 1.109 GB, free: 23.69 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 2.471e-05/0.5352, allocations: 94.72 kB / 1.109 GB, free: 23.59 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 4.849e-06/0.5352, allocations: 1.062 kB / 1.109 GB, free: 23.59 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.411e-05/0.5353, allocations: 22.95 kB / 1.109 GB, free: 23.57 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 2.49e-05/0.5353, allocations: 321 kB / 1.11 GB, free: 23.25 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.208e-05/0.5353, allocations: 3.562 kB / 1.11 GB, free: 23.25 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.879e-05/0.5353, allocations: 22.58 kB / 1.11 GB, free: 23.23 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.771e-05/0.5353, allocations: 36.83 kB / 1.11 GB, free: 23.19 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.5353, allocations: 0 / 1.11 GB, free: 23.19 MB / 0.9948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.592e-05/0.5354, allocations: 53.67 kB / 1.11 GB, free: 23.15 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.5354, allocations: 9.594 kB / 1.11 GB, free: 23.15 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.5354, allocations: 0 / 1.11 GB, free: 23.15 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.5354, allocations: 1.938 kB / 1.11 GB, free: 23.15 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.886e-05/0.5355, allocations: 10.98 kB / 1.11 GB, free: 23.14 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.5355, allocations: 5.312 kB / 1.11 GB, free: 23.14 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.129e-05/0.5355, allocations: 1.094 kB / 1.11 GB, free: 23.14 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.249e-06/0.5355, allocations: 6.953 kB / 1.11 GB, free: 23.14 MB / 0.9948 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 3.862e-05/0.5356, allocations: 112.4 kB / 1.11 GB, free: 23.02 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.417e-05/0.5356, allocations: 2.703 kB / 1.11 GB, free: 23.02 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.715e-05/0.5356, allocations: 4.938 kB / 1.11 GB, free: 23.02 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.5356, allocations: 0 / 1.11 GB, free: 23.02 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.5356, allocations: 3.219 kB / 1.11 GB, free: 23.02 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.5356, allocations: 1.062 kB / 1.11 GB, free: 23.02 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001317/0.5357, allocations: 327.3 kB / 1.11 GB, free: 22.66 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.5357, allocations: 4.031 kB / 1.11 GB, free: 22.65 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.943e-06/0.5357, allocations: 1.922 kB / 1.11 GB, free: 22.65 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.5357, allocations: 1 kB / 1.11 GB, free: 22.65 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.601e-06/0.5357, allocations: 0.6094 kB / 1.11 GB, free: 22.65 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.5357, allocations: 4.812 kB / 1.11 GB, free: 22.65 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.5357, allocations: 3.125 kB / 1.11 GB, free: 22.65 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.532e-05/0.5358, allocations: 55.11 kB / 1.11 GB, free: 22.59 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.133e-06/0.5358, allocations: 5.641 kB / 1.11 GB, free: 22.59 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.077e-05/0.5358, allocations: 1.828 kB / 1.11 GB, free: 22.59 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.746e-05/0.5359, allocations: 10.64 kB / 1.11 GB, free: 22.58 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.154e-05/0.5359, allocations: 9.859 kB / 1.11 GB, free: 22.57 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-06/0.5359, allocations: 0 / 1.11 GB, free: 22.57 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 1.839e-05/0.5359, allocations: 84.38 kB / 1.111 GB, free: 22.5 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6e-08/0.5359, allocations: 0 / 1.111 GB, free: 22.5 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.000129/0.536, allocations: 7.844 kB / 1.111 GB, free: 22.5 MB / 0.9948 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.0001347/0.5361, allocations: 0.5899 MB / 1.111 GB, free: 21.91 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 6.357e-05/0.5362, allocations: 17.8 kB / 1.111 GB, free: 21.9 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.5362, allocations: 4.219 kB / 1.111 GB, free: 21.89 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 3.537e-06/0.5362, allocations: 2.812 kB / 1.111 GB, free: 21.89 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001923/0.5364, allocations: 12.12 kB / 1.111 GB, free: 21.89 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002595/0.5367, allocations: 136.3 kB / 1.111 GB, free: 21.74 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.726e-05/0.5367, allocations: 60.16 kB / 1.111 GB, free: 21.67 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 3.532e-05/0.5367, allocations: 14.09 kB / 1.111 GB, free: 21.66 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.742e-05/0.5368, allocations: 10.2 kB / 1.111 GB, free: 21.66 MB / 0.9948 GB Notification: Performance of SimCode: time 5.41e-07/0.5368, allocations: 0 / 1.111 GB, free: 21.66 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01431/0.5511, allocations: 2.047 MB / 1.113 GB, free: 20.79 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.468/7.019, allocations: 6.078 kB / 1.113 GB, free: 20.79 MB / 0.9948 GB " [Timeout remaining time 293] (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/jenkins/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: 10.87701959721744]