Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.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.001362/0.001362, allocations: 112.9 kB / 17.54 MB, free: 4.641 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.00146/0.00146, allocations: 189.9 kB / 20.71 MB, free: 1.484 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.299/1.299, allocations: 225.6 MB / 249.3 MB, free: 3.184 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.501/2.501, allocations: 476.7 MB / 0.7628 GB, free: 15.18 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_11_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_11_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001868/0.001868, allocations: 71.88 kB / 1.107 GB, free: 5.18 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8199/0.8218, allocations: 168.7 MB / 1.271 GB, free: 7.703 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1671/0.9888, allocations: 148.3 MB / 1.416 GB, free: 10.02 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.0001431/0.989, allocations: 51.38 kB / 1.416 GB, free: 9.984 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.16e-05/0.989, allocations: 3.938 kB / 1.416 GB, free: 9.98 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 9.991e-05/0.9891, allocations: 5.344 kB / 1.416 GB, free: 9.977 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 7.146e-05/0.9892, allocations: 14.88 kB / 1.416 GB, free: 9.965 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004302/0.9896, allocations: 106.3 kB / 1.416 GB, free: 9.891 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 8.172e-05/0.9897, allocations: 37.94 kB / 1.416 GB, free: 9.871 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 3.213e-05/0.9897, allocations: 1 kB / 1.416 GB, free: 9.871 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 3.825e-05/0.9898, allocations: 17.66 kB / 1.416 GB, free: 9.863 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 6.559e-05/0.9898, allocations: 10.41 kB / 1.416 GB, free: 9.859 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 1.188e-05/0.9898, allocations: 1.094 kB / 1.416 GB, free: 9.859 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002681/0.9901, allocations: 89.48 kB / 1.417 GB, free: 9.805 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 4.269e-05/0.9902, allocations: 15.08 kB / 1.417 GB, free: 9.793 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 3.31e-05/0.9902, allocations: 17.33 kB / 1.417 GB, free: 9.781 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0001657/0.9904, allocations: 75.98 kB / 1.417 GB, free: 9.742 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.9904, allocations: 0.75 kB / 1.417 GB, free: 9.742 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.363e-06/0.9904, allocations: 3.938 kB / 1.417 GB, free: 9.738 MB / 1.107 GB Notification: Performance of Transformations before backend: time 8.546e-06/0.9904, allocations: 0.7812 kB / 1.417 GB, free: 9.738 MB / 1.107 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.0003843/0.9908, allocations: 332 kB / 1.417 GB, free: 9.379 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.9908, allocations: 10 kB / 1.417 GB, free: 9.379 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.609e-05/0.9908, allocations: 35.81 kB / 1.417 GB, free: 9.336 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001988/0.991, allocations: 28.23 kB / 1.417 GB, free: 9.32 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.9911, allocations: 170.7 kB / 1.417 GB, free: 9.117 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.269e-05/0.9912, allocations: 25.7 kB / 1.417 GB, free: 9.086 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.444e-06/0.9912, allocations: 1.438 kB / 1.417 GB, free: 9.086 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001206/0.9913, allocations: 49.11 kB / 1.417 GB, free: 9.043 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.9913, allocations: 0 / 1.417 GB, free: 9.043 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.9913, allocations: 3.938 kB / 1.417 GB, free: 9.039 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.559e-05/0.9914, allocations: 6.188 kB / 1.417 GB, free: 9.035 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.218e-05/0.9914, allocations: 22.8 kB / 1.417 GB, free: 9.023 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003593/0.9918, allocations: 264.2 kB / 1.418 GB, free: 8.73 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 3.536e-05/0.9918, allocations: 16.67 kB / 1.418 GB, free: 8.707 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.858e-05/0.9918, allocations: 9.922 kB / 1.418 GB, free: 8.695 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 4.168e-06/0.9918, allocations: 0 / 1.418 GB, free: 8.695 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.9918, allocations: 39.59 kB / 1.418 GB, free: 8.648 MB / 1.107 GB Notification: Performance of pre-optimization done (n=1): time 7.81e-07/0.9918, allocations: 1.094 kB / 1.418 GB, free: 8.648 MB / 1.107 GB Notification: Performance of matching and sorting (n=1): time 0.0001171/0.992, allocations: 31.17 kB / 1.418 GB, free: 8.617 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.933e-05/0.992, allocations: 55.34 kB / 1.418 GB, free: 8.551 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.635e-05/0.9921, allocations: 109.6 kB / 1.418 GB, free: 8.441 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.9921, allocations: 27.02 kB / 1.418 GB, free: 8.41 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 4.962e-05/0.9922, allocations: 89.47 kB / 1.418 GB, free: 8.32 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 4.228e-06/0.9922, allocations: 5.406 kB / 1.418 GB, free: 8.316 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.339e-05/0.9922, allocations: 20.28 kB / 1.418 GB, free: 8.293 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.9923, allocations: 316.9 kB / 1.418 GB, free: 7.977 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.455e-05/0.9923, allocations: 2.25 kB / 1.418 GB, free: 7.977 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.335e-05/0.9924, allocations: 31.78 kB / 1.418 GB, free: 7.941 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.187e-05/0.9924, allocations: 30.58 kB / 1.418 GB, free: 7.91 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.9924, allocations: 0 / 1.418 GB, free: 7.91 MB / 1.107 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.097e-05/0.9925, allocations: 58.88 kB / 1.418 GB, free: 7.863 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.9925, allocations: 4.625 kB / 1.418 GB, free: 7.863 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.9925, allocations: 1.188 kB / 1.418 GB, free: 7.863 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.9925, allocations: 1.375 kB / 1.418 GB, free: 7.863 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.416e-05/0.9926, allocations: 8.781 kB / 1.418 GB, free: 7.859 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.237e-06/0.9926, allocations: 5.188 kB / 1.418 GB, free: 7.855 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.586e-05/0.9926, allocations: 6.594 kB / 1.418 GB, free: 7.852 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-06/0.9926, allocations: 1.281 kB / 1.418 GB, free: 7.852 MB / 1.107 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 7.384e-05/0.9927, allocations: 113 kB / 1.418 GB, free: 7.734 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.466e-05/0.9927, allocations: 1.219 kB / 1.418 GB, free: 7.734 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.711e-05/0.9927, allocations: 12.19 kB / 1.418 GB, free: 7.723 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.9927, allocations: 5.031 kB / 1.419 GB, free: 7.719 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.9927, allocations: 0 / 1.419 GB, free: 7.719 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.9927, allocations: 3.938 kB / 1.419 GB, free: 7.715 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002613/0.993, allocations: 351.7 kB / 1.419 GB, free: 7.32 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.993, allocations: 4.234 kB / 1.419 GB, free: 7.316 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.827e-05/0.993, allocations: 9.062 kB / 1.419 GB, free: 7.309 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.993, allocations: 5.094 kB / 1.419 GB, free: 7.305 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.18e-06/0.993, allocations: 0 / 1.419 GB, free: 7.305 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.993, allocations: 1.219 kB / 1.419 GB, free: 7.305 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.993, allocations: 0 / 1.419 GB, free: 7.305 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.565e-05/0.9931, allocations: 59.92 kB / 1.419 GB, free: 7.234 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 4.399e-05/0.9931, allocations: 86.28 kB / 1.419 GB, free: 7.133 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.349e-05/0.9932, allocations: 0 / 1.419 GB, free: 7.133 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.503e-05/0.9932, allocations: 2.562 kB / 1.419 GB, free: 7.133 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.696e-06/0.9932, allocations: 1.5 kB / 1.419 GB, free: 7.133 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.9932, allocations: 3.984 kB / 1.419 GB, free: 7.129 MB / 1.107 GB Notification: Performance of sorting global known variables: time 4.737e-05/0.9933, allocations: 84.3 kB / 1.419 GB, free: 7.051 MB / 1.107 GB Notification: Performance of sort global known variables: time 8e-08/0.9933, allocations: 0 / 1.419 GB, free: 7.051 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0001795/0.9935, allocations: 10.31 kB / 1.419 GB, free: 7.047 MB / 1.107 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.0003319/0.9938, allocations: 0.5984 MB / 1.42 GB, free: 6.445 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 6.833e-05/0.9939, allocations: 11.45 kB / 1.42 GB, free: 6.441 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.9939, allocations: 5.094 kB / 1.42 GB, free: 6.438 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 8.235e-06/0.9939, allocations: 5.5 kB / 1.42 GB, free: 6.434 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002025/0.9941, allocations: 9.906 kB / 1.42 GB, free: 6.43 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003141/0.9944, allocations: 131.6 kB / 1.42 GB, free: 6.285 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002553/0.9947, allocations: 0.6768 MB / 1.42 GB, free: 5.586 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 4.083e-05/0.9947, allocations: 8.422 kB / 1.421 GB, free: 5.582 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.874e-05/0.9947, allocations: 17 kB / 1.421 GB, free: 5.566 MB / 1.107 GB Notification: Performance of SimCode: time 2.8e-07/0.9947, allocations: 0 / 1.421 GB, free: 5.566 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02399/1.019, allocations: 1.35 MB / 1.422 GB, free: 4.809 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.843/7.862, allocations: 4.812 kB / 1.422 GB, free: 4.809 MB / 1.107 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_11_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 13.175180055000965]