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.001481/0.001481, allocations: 109.9 kB / 16.41 MB, free: 6.496 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.002217/0.002216, allocations: 191.7 kB / 19.35 MB, free: 3.734 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.469/1.469, allocations: 222.9 MB / 245 MB, free: 15.02 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 2.941/2.941, allocations: 489 MB / 0.7678 GB, free: 24 kB / 0.6231 GB " [Timeout remaining time 176] 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.001916/0.001916, allocations: 63.89 kB / 1.101 GB, free: 6.211 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8011/0.8031, allocations: 163.8 MB / 1.261 GB, free: 7.316 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1859/0.989, allocations: 148.3 MB / 1.406 GB, free: 2.449 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.0001535/0.9892, allocations: 59.78 kB / 1.406 GB, free: 2.391 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.824e-05/0.9893, allocations: 0 / 1.406 GB, free: 2.391 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0001107/0.9894, allocations: 4 kB / 1.406 GB, free: 2.387 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 8.333e-05/0.9895, allocations: 15.92 kB / 1.406 GB, free: 2.371 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007856/0.9903, allocations: 210 kB / 1.406 GB, free: 2.168 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0001203/0.9904, allocations: 35.86 kB / 1.406 GB, free: 2.133 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 3.491e-05/0.9905, allocations: 0 / 1.406 GB, free: 2.133 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 4.433e-05/0.9905, allocations: 23.91 kB / 1.406 GB, free: 2.109 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 6.833e-05/0.9906, allocations: 8 kB / 1.406 GB, free: 2.102 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 1.204e-05/0.9906, allocations: 0 / 1.406 GB, free: 2.102 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000473/0.9911, allocations: 203.4 kB / 1.406 GB, free: 1.902 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 4.331e-05/0.9912, allocations: 0 / 1.406 GB, free: 1.902 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 3.931e-05/0.9912, allocations: 23.91 kB / 1.406 GB, free: 1.879 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.000297/0.9915, allocations: 118.3 kB / 1.406 GB, free: 1.766 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.9915, allocations: 0 / 1.406 GB, free: 1.766 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.964e-06/0.9915, allocations: 0 / 1.406 GB, free: 1.766 MB / 1.107 GB Notification: Performance of Transformations before backend: time 5.159e-06/0.9915, allocations: 0 / 1.406 GB, free: 1.766 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.0004541/0.992, allocations: 343.4 kB / 1.407 GB, free: 1.383 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.992, allocations: 8.031 kB / 1.407 GB, free: 1.375 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.561e-05/0.9921, allocations: 38.73 kB / 1.407 GB, free: 1.328 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003152/0.9924, allocations: 16.92 kB / 1.407 GB, free: 1.312 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001533/0.9926, allocations: 180.1 kB / 1.407 GB, free: 1.098 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.419e-05/0.9927, allocations: 25.7 kB / 1.407 GB, free: 1.066 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.21e-05/0.9927, allocations: 0 / 1.407 GB, free: 1.066 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001414/0.9928, allocations: 53.67 kB / 1.407 GB, free: 1.008 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.9928, allocations: 3.938 kB / 1.407 GB, free: 1.004 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.918e-06/0.9929, allocations: 4 kB / 1.407 GB, free: 1 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.922e-05/0.9929, allocations: 0 / 1.407 GB, free: 1 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.569e-05/0.9929, allocations: 23.92 kB / 1.407 GB, free: 0.9766 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003991/0.9934, allocations: 264.8 kB / 1.407 GB, free: 0.668 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 5.466e-05/0.9934, allocations: 26.58 kB / 1.407 GB, free: 0.6328 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.109e-05/0.9934, allocations: 8.844 kB / 1.407 GB, free: 0.6211 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001734/0.9936, allocations: 97.16 kB / 1.408 GB, free: 0.5078 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/0.9937, allocations: 30.56 kB / 1.408 GB, free: 480 kB / 1.107 GB Notification: Performance of pre-optimization done (n=2): time 4.308e-06/0.9937, allocations: 0 / 1.408 GB, free: 480 kB / 1.107 GB Notification: Performance of matching and sorting (n=2): time 0.0002519/0.9939, allocations: 57.72 kB / 1.408 GB, free: 416 kB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.489e-05/0.994, allocations: 55.34 kB / 1.408 GB, free: 348 kB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.253e-05/0.9941, allocations: 97.86 kB / 1.408 GB, free: 240 kB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.9941, allocations: 25.7 kB / 1.408 GB, free: 208 kB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 6.127e-05/0.9942, allocations: 92.08 kB / 1.408 GB, free: 112 kB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 7.785e-06/0.9942, allocations: 3.953 kB / 1.408 GB, free: 108 kB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.587e-05/0.9942, allocations: 17.72 kB / 1.408 GB, free: 84 kB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001661/0.9944, allocations: 314.8 kB / 1.408 GB, free: 15.77 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.068e-05/0.9944, allocations: 15.95 kB / 1.408 GB, free: 15.75 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.272e-05/0.9945, allocations: 22.58 kB / 1.408 GB, free: 15.72 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.216e-05/0.9945, allocations: 30.52 kB / 1.408 GB, free: 15.68 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.9945, allocations: 0 / 1.408 GB, free: 15.68 MB / 1.123 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.331e-05/0.9946, allocations: 61.62 kB / 1.408 GB, free: 15.61 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.9946, allocations: 8 kB / 1.408 GB, free: 15.61 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.9946, allocations: 0 / 1.408 GB, free: 15.61 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.9947, allocations: 0 / 1.408 GB, free: 15.61 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.062e-05/0.9947, allocations: 11.98 kB / 1.408 GB, free: 15.59 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.928e-06/0.9947, allocations: 7.875 kB / 1.408 GB, free: 15.59 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.853e-05/0.9948, allocations: 3.953 kB / 1.408 GB, free: 15.58 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.9948, allocations: 4 kB / 1.408 GB, free: 15.58 MB / 1.123 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 8.264e-05/0.9949, allocations: 109.8 kB / 1.408 GB, free: 15.46 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.776e-05/0.9949, allocations: 8.094 kB / 1.408 GB, free: 15.45 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.283e-05/0.9949, allocations: 3.125 kB / 1.408 GB, free: 15.45 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.9949, allocations: 0 / 1.408 GB, free: 15.45 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.995, allocations: 3.938 kB / 1.408 GB, free: 15.45 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.995, allocations: 0 / 1.408 GB, free: 15.45 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003456/0.9953, allocations: 367.5 kB / 1.409 GB, free: 15.02 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.9953, allocations: 0 / 1.409 GB, free: 15.02 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.814e-05/0.9954, allocations: 12 kB / 1.409 GB, free: 15.01 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.9954, allocations: 0 / 1.409 GB, free: 15.01 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.001e-06/0.9954, allocations: 0 / 1.409 GB, free: 15.01 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.9954, allocations: 0 / 1.409 GB, free: 15.01 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.9954, allocations: 7.922 kB / 1.409 GB, free: 15 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.66e-05/0.9955, allocations: 73.89 kB / 1.409 GB, free: 14.91 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 4.733e-05/0.9956, allocations: 81.05 kB / 1.409 GB, free: 14.81 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.817e-05/0.9956, allocations: 8.031 kB / 1.409 GB, free: 14.8 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.334e-05/0.9957, allocations: 7.984 kB / 1.409 GB, free: 14.8 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.836e-05/0.9957, allocations: 4.281 kB / 1.409 GB, free: 14.79 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-06/0.9957, allocations: 0 / 1.409 GB, free: 14.79 MB / 1.123 GB Notification: Performance of sorting global known variables: time 4.892e-05/0.9958, allocations: 83.27 kB / 1.409 GB, free: 14.71 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9958, allocations: 0 / 1.409 GB, free: 14.71 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0001968/0.996, allocations: 4 kB / 1.409 GB, free: 14.71 MB / 1.123 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.000436/0.9964, allocations: 0.6133 MB / 1.41 GB, free: 14.06 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 9.845e-05/0.9965, allocations: 19.92 kB / 1.41 GB, free: 14.04 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.9965, allocations: 3.938 kB / 1.41 GB, free: 14.04 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 1.892e-05/0.9966, allocations: 12.16 kB / 1.41 GB, free: 14.03 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002566/0.9968, allocations: 7.438 kB / 1.41 GB, free: 14.02 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004021/0.9972, allocations: 145.2 kB / 1.41 GB, free: 13.84 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003107/0.9975, allocations: 0.6729 MB / 1.411 GB, free: 13.14 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 5.648e-05/0.9976, allocations: 12.11 kB / 1.411 GB, free: 13.12 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.53e-05/0.9976, allocations: 11.44 kB / 1.411 GB, free: 13.11 MB / 1.123 GB Notification: Performance of SimCode: time 2.21e-07/0.9977, allocations: 0 / 1.411 GB, free: 13.11 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0249/1.023, allocations: 1.462 MB / 1.412 GB, free: 11.76 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.665/8.687, allocations: 7 kB / 1.412 GB, free: 11.76 MB / 1.123 GB " [Timeout remaining time 291] (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.850600860081613]