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.0007552/0.0007552, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008067/0.0008067, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.8668/0.8668, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.654/1.654, allocations: 377.8 MB / 0.6221 GB, free: 8.66 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.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="Buildings_12_Buildings_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="Buildings_12_Buildings_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.9809 GB, free: 2.641 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.693e-05/1.856e-05, allocations: 6.219 kB / 0.9809 GB, free: 2.633 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.5032/0.5032, allocations: 130.4 MB / 1.108 GB, free: 24.84 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.0001229/0.5034, allocations: 47.94 kB / 1.108 GB, free: 24.82 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.405e-05/0.5034, allocations: 1.125 kB / 1.108 GB, free: 24.82 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001139/0.5035, allocations: 5.359 kB / 1.108 GB, free: 24.81 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 7.638e-05/0.5036, allocations: 13.95 kB / 1.108 GB, free: 24.8 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007434/0.5043, allocations: 213.5 kB / 1.109 GB, free: 24.72 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0001071/0.5044, allocations: 36.92 kB / 1.109 GB, free: 24.7 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 5.715e-05/0.5045, allocations: 2.625 kB / 1.109 GB, free: 24.7 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 7.031e-05/0.5046, allocations: 22.34 kB / 1.109 GB, free: 24.7 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.424e-05/0.5047, allocations: 18.09 kB / 1.109 GB, free: 24.69 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 1.732e-05/0.5047, allocations: 1.406 kB / 1.109 GB, free: 24.69 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003162/0.505, allocations: 161.3 kB / 1.109 GB, free: 24.62 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 5.45e-05/0.505, allocations: 14.53 kB / 1.109 GB, free: 24.62 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 2.325e-05/0.5051, allocations: 6.938 kB / 1.109 GB, free: 24.62 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002237/0.5053, allocations: 113.4 kB / 1.109 GB, free: 24.59 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.5053, allocations: 0 / 1.109 GB, free: 24.59 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.874e-06/0.5053, allocations: 0 / 1.109 GB, free: 24.59 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 7.574e-06/0.5053, allocations: 1.734 kB / 1.109 GB, free: 24.59 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.0003633/0.5057, allocations: 270.3 kB / 1.109 GB, free: 24.31 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.5057, allocations: 9.406 kB / 1.109 GB, free: 24.31 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.628e-05/0.5057, allocations: 32.91 kB / 1.109 GB, free: 24.27 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003042/0.506, allocations: 26.75 kB / 1.109 GB, free: 24.27 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.752e-05/0.5061, allocations: 107.4 kB / 1.109 GB, free: 24.14 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.395e-05/0.5062, allocations: 58.36 kB / 1.109 GB, free: 24.08 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.504e-06/0.5062, allocations: 5.469 kB / 1.109 GB, free: 24.07 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001042/0.5063, allocations: 74.25 kB / 1.109 GB, free: 24.01 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.5063, allocations: 3.469 kB / 1.109 GB, free: 24.01 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.5063, allocations: 8.594 kB / 1.109 GB, free: 24 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.402e-05/0.5063, allocations: 3.25 kB / 1.109 GB, free: 24 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.364e-05/0.5064, allocations: 24.14 kB / 1.109 GB, free: 24 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002457/0.5066, allocations: 225.4 kB / 1.11 GB, free: 23.76 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.319e-05/0.5066, allocations: 24.27 kB / 1.11 GB, free: 23.73 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.529e-05/0.5067, allocations: 8.188 kB / 1.11 GB, free: 23.72 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.777e-05/0.5068, allocations: 21.02 kB / 1.11 GB, free: 23.72 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.673e-05/0.5068, allocations: 36.61 kB / 1.11 GB, free: 23.68 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=2): time 9.71e-07/0.5068, allocations: 0 / 1.11 GB, free: 23.68 MB / 0.9948 GB Notification: Performance of matching and sorting (n=2): time 0.0001686/0.5069, allocations: 48.52 kB / 1.11 GB, free: 23.64 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.76e-05/0.507, allocations: 55.95 kB / 1.11 GB, free: 23.57 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.574e-05/0.507, allocations: 113 kB / 1.11 GB, free: 23.46 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 6.713e-06/0.507, allocations: 25.7 kB / 1.11 GB, free: 23.43 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 2.189e-05/0.507, allocations: 86.28 kB / 1.11 GB, free: 23.35 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 6.402e-06/0.507, allocations: 6.312 kB / 1.11 GB, free: 23.34 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.443e-05/0.5071, allocations: 17.36 kB / 1.11 GB, free: 23.32 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 3.692e-05/0.5071, allocations: 321 kB / 1.11 GB, free: 23 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.654e-05/0.5071, allocations: 9.312 kB / 1.11 GB, free: 23 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.589e-05/0.5071, allocations: 21.89 kB / 1.11 GB, free: 22.98 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.168e-05/0.5072, allocations: 33.11 kB / 1.11 GB, free: 22.95 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.5072, allocations: 0 / 1.11 GB, free: 22.95 MB / 0.9948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.959e-05/0.5072, allocations: 56.56 kB / 1.111 GB, free: 22.9 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.5073, allocations: 8.703 kB / 1.111 GB, free: 22.9 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.5073, allocations: 5.688 kB / 1.111 GB, free: 22.9 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.5073, allocations: 1.375 kB / 1.111 GB, free: 22.9 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.948e-05/0.5073, allocations: 6.781 kB / 1.111 GB, free: 22.9 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.5073, allocations: 1.062 kB / 1.111 GB, free: 22.9 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.529e-05/0.5073, allocations: 1.094 kB / 1.111 GB, free: 22.9 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/0.5073, allocations: 2.156 kB / 1.111 GB, free: 22.9 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 4.459e-05/0.5074, allocations: 117.5 kB / 1.111 GB, free: 22.78 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.48e-05/0.5074, allocations: 2.344 kB / 1.111 GB, free: 22.78 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.17e-05/0.5074, allocations: 5.766 kB / 1.111 GB, free: 22.77 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.5074, allocations: 0 / 1.111 GB, free: 22.77 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.5074, allocations: 4 kB / 1.111 GB, free: 22.77 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.5074, allocations: 1.25 kB / 1.111 GB, free: 22.77 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001584/0.5076, allocations: 334.4 kB / 1.111 GB, free: 22.41 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.5076, allocations: 2.312 kB / 1.111 GB, free: 22.41 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.439e-05/0.5076, allocations: 3.812 kB / 1.111 GB, free: 22.41 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.5076, allocations: 0 / 1.111 GB, free: 22.41 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.5076, allocations: 1.938 kB / 1.111 GB, free: 22.41 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.5076, allocations: 5.188 kB / 1.111 GB, free: 22.4 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.5076, allocations: 5.25 kB / 1.111 GB, free: 22.4 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.387e-05/0.5077, allocations: 76.5 kB / 1.111 GB, free: 22.32 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.952e-06/0.5077, allocations: 5.703 kB / 1.111 GB, free: 22.31 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.378e-05/0.5077, allocations: 2.125 kB / 1.111 GB, free: 22.31 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.586e-05/0.5078, allocations: 11.45 kB / 1.111 GB, free: 22.3 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.399e-05/0.5078, allocations: 6.734 kB / 1.111 GB, free: 22.3 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.496e-06/0.5078, allocations: 2.047 kB / 1.111 GB, free: 22.3 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 1.888e-05/0.5078, allocations: 80.62 kB / 1.111 GB, free: 22.23 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5e-08/0.5078, allocations: 1.969 kB / 1.111 GB, free: 22.23 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0001315/0.5079, allocations: 6.844 kB / 1.111 GB, free: 22.23 MB / 0.9948 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.0002097/0.5081, allocations: 0.6179 MB / 1.112 GB, free: 21.61 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 7.416e-05/0.5082, allocations: 15.98 kB / 1.112 GB, free: 21.61 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.5082, allocations: 0 / 1.112 GB, free: 21.61 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 6.552e-06/0.5082, allocations: 4.453 kB / 1.112 GB, free: 21.61 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002222/0.5084, allocations: 12.06 kB / 1.112 GB, free: 21.6 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003111/0.5088, allocations: 156.5 kB / 1.112 GB, free: 21.44 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.516e-05/0.5088, allocations: 64 kB / 1.112 GB, free: 21.37 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 4.166e-05/0.5088, allocations: 5.375 kB / 1.112 GB, free: 21.37 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.995e-05/0.5089, allocations: 9.656 kB / 1.112 GB, free: 21.36 MB / 0.9948 GB Notification: Performance of SimCode: time 8.32e-07/0.5089, allocations: 0 / 1.112 GB, free: 21.36 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01421/0.5231, allocations: 2.132 MB / 1.114 GB, free: 20.48 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.465/6.988, allocations: 5.891 kB / 1.114 GB, free: 20.48 MB / 0.9948 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_AirTemperatureEnthalpyInversion.csv","/var/lib/jenkins/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: 10.93160555884242]