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 12.0.0-master/package.mo", uses=false) 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: 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.001595/0.001595, allocations: 116.2 kB / 16.42 MB, free: 6.5 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.00182/0.00182, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.35/1.35, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.601/2.601, allocations: 472.7 MB / 0.746 GB, free: 412 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 71.88 kB / 1.07 GB, free: 9.559 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6867/0.688, allocations: 159.9 MB / 1.226 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1392/0.8273, allocations: 148.3 MB / 1.371 GB, free: 8.613 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.0001294/0.8275, allocations: 47.86 kB / 1.371 GB, free: 8.566 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.531e-05/0.8275, allocations: 4 kB / 1.371 GB, free: 8.562 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0001006/0.8276, allocations: 3.938 kB / 1.371 GB, free: 8.559 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 7.261e-05/0.8277, allocations: 19.92 kB / 1.371 GB, free: 8.539 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007125/0.8284, allocations: 218.5 kB / 1.371 GB, free: 8.328 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 7.926e-05/0.8285, allocations: 27.92 kB / 1.371 GB, free: 8.301 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 3.885e-05/0.8286, allocations: 15.92 kB / 1.371 GB, free: 8.285 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 3.377e-05/0.8286, allocations: 15.92 kB / 1.371 GB, free: 8.27 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 6.632e-05/0.8287, allocations: 11.98 kB / 1.371 GB, free: 8.258 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 1.328e-05/0.8287, allocations: 4 kB / 1.371 GB, free: 8.254 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004199/0.8291, allocations: 195.4 kB / 1.372 GB, free: 8.062 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 4.123e-05/0.8292, allocations: 7.984 kB / 1.372 GB, free: 8.055 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 2.895e-05/0.8292, allocations: 15.92 kB / 1.372 GB, free: 8.039 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0002582/0.8295, allocations: 112.3 kB / 1.372 GB, free: 7.934 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.8295, allocations: 0 / 1.372 GB, free: 7.934 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.062e-06/0.8295, allocations: 0 / 1.372 GB, free: 7.934 MB / 1.092 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.8295, allocations: 4 kB / 1.372 GB, free: 7.93 MB / 1.092 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.0003785/0.8299, allocations: 343.4 kB / 1.372 GB, free: 7.547 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.8299, allocations: 8.031 kB / 1.372 GB, free: 7.539 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003077/0.8302, allocations: 32.84 kB / 1.372 GB, free: 7.508 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.8304, allocations: 164.3 kB / 1.372 GB, free: 7.309 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.449e-05/0.8304, allocations: 33.58 kB / 1.372 GB, free: 7.27 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.047e-05/0.8304, allocations: 4 kB / 1.372 GB, free: 7.266 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000136/0.8306, allocations: 57.66 kB / 1.372 GB, free: 7.203 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.8306, allocations: 0 / 1.372 GB, free: 7.203 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.8306, allocations: 0 / 1.372 GB, free: 7.203 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.535e-05/0.8306, allocations: 0 / 1.372 GB, free: 7.203 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.982e-05/0.8307, allocations: 23.98 kB / 1.372 GB, free: 7.18 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000319/0.831, allocations: 252.9 kB / 1.373 GB, free: 6.883 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 4.852e-05/0.8311, allocations: 34.52 kB / 1.373 GB, free: 6.84 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.999e-05/0.8311, allocations: 8.844 kB / 1.373 GB, free: 6.828 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001509/0.8313, allocations: 93.16 kB / 1.373 GB, free: 6.719 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.8313, allocations: 30.56 kB / 1.373 GB, free: 6.68 MB / 1.092 GB Notification: Performance of pre-optimization done (n=2): time 1.673e-06/0.8313, allocations: 0 / 1.373 GB, free: 6.68 MB / 1.092 GB Notification: Performance of matching and sorting (n=2): time 0.0002311/0.8315, allocations: 53.78 kB / 1.373 GB, free: 6.621 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.81e-05/0.8316, allocations: 51.41 kB / 1.373 GB, free: 6.559 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.793e-05/0.8317, allocations: 109.7 kB / 1.373 GB, free: 6.441 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.8317, allocations: 29.7 kB / 1.373 GB, free: 6.406 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 3.719e-05/0.8317, allocations: 88.03 kB / 1.373 GB, free: 6.316 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 7.294e-06/0.8317, allocations: 7.953 kB / 1.373 GB, free: 6.309 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.23e-05/0.8318, allocations: 13.72 kB / 1.373 GB, free: 6.289 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 8.73e-05/0.8319, allocations: 326.8 kB / 1.373 GB, free: 5.961 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.604e-05/0.8319, allocations: 8.031 kB / 1.373 GB, free: 5.953 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.426e-05/0.8319, allocations: 18.58 kB / 1.374 GB, free: 5.926 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.313e-05/0.832, allocations: 34.5 kB / 1.374 GB, free: 5.883 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.832, allocations: 4 kB / 1.374 GB, free: 5.879 MB / 1.092 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.291e-05/0.8321, allocations: 57.59 kB / 1.374 GB, free: 5.816 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.8321, allocations: 9.703 kB / 1.374 GB, free: 5.809 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.8321, allocations: 0 / 1.374 GB, free: 5.809 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.8321, allocations: 0 / 1.374 GB, free: 5.809 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.475e-05/0.8322, allocations: 8 kB / 1.374 GB, free: 5.801 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.8322, allocations: 0 / 1.374 GB, free: 5.801 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.304e-05/0.8322, allocations: 11.94 kB / 1.374 GB, free: 5.789 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.268e-06/0.8322, allocations: 0 / 1.374 GB, free: 5.789 MB / 1.092 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.455e-05/0.8323, allocations: 109.8 kB / 1.374 GB, free: 5.672 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.542e-05/0.8323, allocations: 4.094 kB / 1.374 GB, free: 5.668 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.207e-05/0.8323, allocations: 11.11 kB / 1.374 GB, free: 5.656 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-06/0.8324, allocations: 0 / 1.374 GB, free: 5.656 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.8324, allocations: 0 / 1.374 GB, free: 5.656 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 3.327e-05/0.8324, allocations: 85.05 kB / 1.374 GB, free: 5.555 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.072e-05/0.8324, allocations: 0 / 1.374 GB, free: 5.555 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000111/0.8325, allocations: 7.938 kB / 1.374 GB, free: 5.547 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.414e-05/0.8326, allocations: 4 kB / 1.374 GB, free: 5.543 MB / 1.092 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.598e-05/0.8326, allocations: 116.9 kB / 1.374 GB, free: 5.422 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001105/0.8328, allocations: 222.8 kB / 1.374 GB, free: 5.188 MB / 1.092 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.546e-05/0.8328, allocations: 0 / 1.374 GB, free: 5.188 MB / 1.092 GB Notification: Performance of sorting global known variables: time 3.431e-05/0.8328, allocations: 83.28 kB / 1.374 GB, free: 5.105 MB / 1.092 GB Notification: Performance of Backend: time 3.5e-07/0.8328, allocations: 3.938 kB / 1.374 GB, free: 5.102 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0004411/0.8333, allocations: 130.7 kB / 1.374 GB, free: 4.969 MB / 1.092 GB Notification: Performance of SimCode: time 0.0004219/0.8337, allocations: 0.5621 MB / 1.375 GB, free: 4.359 MB / 1.092 GB Notification: Performance of Templates: time 0.003118/0.8368, allocations: 1.015 MB / 1.376 GB, free: 3.344 MB / 1.092 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 -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