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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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: translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00157/0.00157, allocations: 112.6 kB / 16.37 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001712/0.001713, allocations: 196 kB / 17.31 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.423/2.423, allocations: 442.6 MB / 0.7165 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 63.72 kB / 0.8773 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2783/0.2797, allocations: 153 MB / 1.027 GB, free: 2.105 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.6345/0.9142, allocations: 148.3 MB / 1.172 GB, free: 12.21 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001267/0.9144, allocations: 51.59 kB / 1.172 GB, free: 12.19 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.113e-05/0.9144, allocations: 1.281 kB / 1.172 GB, free: 12.19 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001005/0.9145, allocations: 6.047 kB / 1.172 GB, free: 12.18 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.614e-05/0.9147, allocations: 13.94 kB / 1.172 GB, free: 12.18 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006553/0.9153, allocations: 214.6 kB / 1.172 GB, free: 12.08 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 7.37e-05/0.9154, allocations: 34.69 kB / 1.172 GB, free: 12.07 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.236e-05/0.9154, allocations: 4.734 kB / 1.172 GB, free: 12.07 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 3.452e-05/0.9155, allocations: 19.28 kB / 1.172 GB, free: 12.06 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.734e-05/0.9156, allocations: 11.78 kB / 1.172 GB, free: 12.05 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.083e-05/0.9156, allocations: 1.906 kB / 1.172 GB, free: 12.05 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003798/0.916, allocations: 203.1 kB / 1.172 GB, free: 11.97 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.846e-05/0.916, allocations: 5.484 kB / 1.172 GB, free: 11.97 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.897e-05/0.916, allocations: 9.375 kB / 1.172 GB, free: 11.96 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000221/0.9163, allocations: 116.5 kB / 1.172 GB, free: 11.93 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.9163, allocations: 0 / 1.172 GB, free: 11.93 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.423e-06/0.9163, allocations: 4 kB / 1.172 GB, free: 11.93 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.474e-06/0.9163, allocations: 1.312 kB / 1.172 GB, free: 11.93 MB / 0.8887 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.0003578/0.9167, allocations: 336.5 kB / 1.173 GB, free: 11.58 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.006e-05/0.9167, allocations: 8.969 kB / 1.173 GB, free: 11.58 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002886/0.917, allocations: 22.59 kB / 1.173 GB, free: 11.58 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/0.9171, allocations: 170.7 kB / 1.173 GB, free: 11.38 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.016e-05/0.9172, allocations: 33.25 kB / 1.173 GB, free: 11.34 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.536e-06/0.9172, allocations: 5.281 kB / 1.173 GB, free: 11.34 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001181/0.9173, allocations: 46.62 kB / 1.173 GB, free: 11.3 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.9173, allocations: 0 / 1.173 GB, free: 11.3 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.9173, allocations: 0.8438 kB / 1.173 GB, free: 11.3 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.479e-05/0.9174, allocations: 5.422 kB / 1.173 GB, free: 11.3 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.885e-05/0.9174, allocations: 19.25 kB / 1.173 GB, free: 11.3 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003244/0.9177, allocations: 259.2 kB / 1.173 GB, free: 11.02 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 4.807e-05/0.9178, allocations: 29.59 kB / 1.173 GB, free: 10.99 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.98e-05/0.9178, allocations: 11.92 kB / 1.173 GB, free: 10.98 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001383/0.918, allocations: 92.16 kB / 1.173 GB, free: 10.88 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.918, allocations: 31.66 kB / 1.173 GB, free: 10.84 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.243e-06/0.918, allocations: 0 / 1.173 GB, free: 10.84 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0002299/0.9183, allocations: 57.44 kB / 1.173 GB, free: 10.8 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.024e-05/0.9183, allocations: 52.47 kB / 1.173 GB, free: 10.74 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.89e-05/0.9184, allocations: 109.5 kB / 1.173 GB, free: 10.63 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.9184, allocations: 26.45 kB / 1.173 GB, free: 10.6 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.97e-05/0.9184, allocations: 93.62 kB / 1.174 GB, free: 10.5 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 9.768e-06/0.9185, allocations: 7.391 kB / 1.174 GB, free: 10.5 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.981e-05/0.9185, allocations: 16.97 kB / 1.174 GB, free: 10.48 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 9.794e-05/0.9186, allocations: 316.1 kB / 1.174 GB, free: 10.16 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.756e-05/0.9186, allocations: 9.375 kB / 1.174 GB, free: 10.16 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.914e-05/0.9187, allocations: 22.06 kB / 1.174 GB, free: 10.14 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.082e-05/0.9187, allocations: 31.2 kB / 1.174 GB, free: 10.11 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.9187, allocations: 0 / 1.174 GB, free: 10.11 MB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.556e-05/0.9188, allocations: 58.91 kB / 1.174 GB, free: 10.06 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.9188, allocations: 8.969 kB / 1.174 GB, free: 10.06 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.9188, allocations: 2.906 kB / 1.174 GB, free: 10.06 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.9189, allocations: 5.109 kB / 1.174 GB, free: 10.05 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.083e-05/0.9189, allocations: 6.875 kB / 1.174 GB, free: 10.05 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.9189, allocations: 0 / 1.174 GB, free: 10.05 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.003e-05/0.919, allocations: 6.25 kB / 1.174 GB, free: 10.05 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.959e-06/0.919, allocations: 2.75 kB / 1.174 GB, free: 10.05 MB / 0.8887 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 6.933e-05/0.919, allocations: 120.9 kB / 1.174 GB, free: 9.926 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.836e-05/0.9191, allocations: 5.812 kB / 1.174 GB, free: 9.922 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.237e-05/0.9191, allocations: 9.703 kB / 1.174 GB, free: 9.91 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.9191, allocations: 1.062 kB / 1.174 GB, free: 9.91 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.9191, allocations: 0 / 1.174 GB, free: 9.91 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.9191, allocations: 5.062 kB / 1.174 GB, free: 9.906 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002689/0.9194, allocations: 355.6 kB / 1.174 GB, free: 9.516 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.9194, allocations: 5.188 kB / 1.174 GB, free: 9.512 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.698e-05/0.9194, allocations: 2.156 kB / 1.174 GB, free: 9.512 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.9195, allocations: 9 kB / 1.174 GB, free: 9.504 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.551e-06/0.9195, allocations: 1.375 kB / 1.174 GB, free: 9.504 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.9195, allocations: 3.812 kB / 1.174 GB, free: 9.504 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.9195, allocations: 3.047 kB / 1.174 GB, free: 9.504 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.313e-05/0.9196, allocations: 74.19 kB / 1.175 GB, free: 9.422 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 3.906e-05/0.9196, allocations: 78.45 kB / 1.175 GB, free: 9.328 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.698e-05/0.9196, allocations: 5.25 kB / 1.175 GB, free: 9.324 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.871e-05/0.9197, allocations: 5 kB / 1.175 GB, free: 9.324 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.293e-05/0.9197, allocations: 1.062 kB / 1.175 GB, free: 9.324 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-06/0.9197, allocations: 4.938 kB / 1.175 GB, free: 9.32 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 3.543e-05/0.9198, allocations: 81.28 kB / 1.175 GB, free: 9.246 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9198, allocations: 0 / 1.175 GB, free: 9.246 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.000198/0.92, allocations: 10.25 kB / 1.175 GB, free: 9.242 MB / 0.8887 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.000106/0.9201, allocations: 111.3 kB / 1.175 GB, free: 9.148 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 7.536e-05/0.9202, allocations: 14.47 kB / 1.175 GB, free: 9.145 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.9202, allocations: 0 / 1.175 GB, free: 9.145 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 1.388e-05/0.9202, allocations: 13.67 kB / 1.175 GB, free: 9.137 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002135/0.9204, allocations: 7.875 kB / 1.175 GB, free: 9.133 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002265/0.9207, allocations: 121.2 kB / 1.175 GB, free: 9.016 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002195/0.9209, allocations: 0.6757 MB / 1.176 GB, free: 8.32 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 4.52e-05/0.9209, allocations: 6.781 kB / 1.176 GB, free: 8.32 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.198e-05/0.921, allocations: 8.562 kB / 1.176 GB, free: 8.312 MB / 0.8887 GB Notification: Performance of SimCode: time 2.7e-07/0.921, allocations: 4 kB / 1.176 GB, free: 8.309 MB / 0.8887 GB Notification: Performance of Templates: time 0.002506/0.9235, allocations: 0.573 MB / 1.176 GB, free: 8.23 MB / 0.8887 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.makefile (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 & ./Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_AirTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches