Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Fluid.FMI.Conversion.Validation.InletToAirDryAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conAir.m_flow|conAir.T|souRev.outlet.backward.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir") translateModel(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conAir.m_flow|conAir.T|souRev.outlet.backward.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006641/0.00664, allocations: 103.3 kB / 15.74 MB, free: 5.957 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.00128/0.00128, allocations: 192.2 kB / 16.67 MB, free: 5.879 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.406/1.406, allocations: 222.9 MB / 240.3 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.676/2.676, allocations: 461.9 MB / 0.7348 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 71.83 kB / 1.054 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.076/1.077, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir): time 0.1585/1.235, allocations: 148 MB / 1.352 GB, free: 9.078 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.004824/1.24, allocations: 4.638 MB / 1.357 GB, free: 4.422 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002331/1.241, allocations: 11.94 kB / 1.357 GB, free: 4.41 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0005263/1.241, allocations: 170.9 kB / 1.357 GB, free: 4.242 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0002639/1.241, allocations: 79.45 kB / 1.357 GB, free: 4.164 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001403/1.242, allocations: 63.86 kB / 1.357 GB, free: 4.102 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0003284/1.242, allocations: 294.9 kB / 1.357 GB, free: 3.812 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002355/1.242, allocations: 106.7 kB / 1.357 GB, free: 3.703 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001689/1.242, allocations: 99.58 kB / 1.358 GB, free: 3.605 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001709/1.242, allocations: 131.5 kB / 1.358 GB, free: 3.477 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.926e-05/1.243, allocations: 12 kB / 1.358 GB, free: 3.465 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 2.334e-05/1.243, allocations: 12 kB / 1.358 GB, free: 3.453 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.989e-05/1.243, allocations: 27.86 kB / 1.358 GB, free: 3.426 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 6.904e-05/1.243, allocations: 75.61 kB / 1.358 GB, free: 3.352 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001852/1.243, allocations: 165 kB / 1.358 GB, free: 3.195 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/1.243, allocations: 0 / 1.358 GB, free: 3.195 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.663e-06/1.243, allocations: 4 kB / 1.358 GB, free: 3.191 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.541e-06/1.243, allocations: 0 / 1.358 GB, free: 3.191 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0004367/1.243, allocations: 442.9 kB / 1.358 GB, free: 2.711 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/1.243, allocations: 8.031 kB / 1.358 GB, free: 2.703 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.59e-05/1.243, allocations: 20.75 kB / 1.358 GB, free: 2.684 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003326/1.244, allocations: 256.5 kB / 1.359 GB, free: 2.395 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/1.244, allocations: 16.31 kB / 1.359 GB, free: 2.379 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.596e-05/1.244, allocations: 19.88 kB / 1.359 GB, free: 2.359 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002779/1.244, allocations: 206.3 kB / 1.359 GB, free: 2.113 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/1.244, allocations: 0 / 1.359 GB, free: 2.113 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.603e-05/1.244, allocations: 8 kB / 1.359 GB, free: 2.105 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/1.244, allocations: 4 kB / 1.359 GB, free: 2.102 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001097/1.244, allocations: 71.78 kB / 1.359 GB, free: 2.031 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00107/1.245, allocations: 1.594 MB / 1.361 GB, free: 348 kB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 9.337e-05/1.245, allocations: 169.1 kB / 1.361 GB, free: 168 kB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.036e-05/1.245, allocations: 84.14 kB / 1.361 GB, free: 80 kB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.226e-05/1.246, allocations: 79.22 kB / 1.361 GB, free: 0 / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.106e-05/1.246, allocations: 109.8 kB / 1.361 GB, free: 15.88 MB / 1.092 GB Notification: Performance of pre-optimization done (n=0): time 7.31e-07/1.246, allocations: 3.938 kB / 1.361 GB, free: 15.88 MB / 1.092 GB Notification: Performance of matching and sorting (n=0): time 0.0001004/1.246, allocations: 45.5 kB / 1.361 GB, free: 15.83 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.135e-05/1.246, allocations: 130.7 kB / 1.361 GB, free: 15.69 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002584/1.246, allocations: 246.5 kB / 1.361 GB, free: 15.44 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/1.246, allocations: 29.7 kB / 1.361 GB, free: 15.41 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/1.246, allocations: 143.8 kB / 1.362 GB, free: 15.26 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 3.156e-06/1.246, allocations: 0 / 1.362 GB, free: 15.26 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.94e-05/1.246, allocations: 17.72 kB / 1.362 GB, free: 15.24 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001568/1.246, allocations: 330.8 kB / 1.362 GB, free: 14.91 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.029e-05/1.246, allocations: 8 kB / 1.362 GB, free: 14.9 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.483e-05/1.246, allocations: 57.94 kB / 1.362 GB, free: 14.82 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.055e-05/1.247, allocations: 61.94 kB / 1.362 GB, free: 14.74 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/1.247, allocations: 0 / 1.362 GB, free: 14.74 MB / 1.092 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001857/1.247, allocations: 89.31 kB / 1.362 GB, free: 14.64 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/1.247, allocations: 8 kB / 1.362 GB, free: 14.64 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/1.247, allocations: 0 / 1.362 GB, free: 14.64 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.492e-05/1.247, allocations: 8 kB / 1.362 GB, free: 14.63 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.676e-05/1.247, allocations: 15.92 kB / 1.362 GB, free: 14.61 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.345e-06/1.247, allocations: 8.219 kB / 1.362 GB, free: 14.61 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.052e-05/1.247, allocations: 19.69 kB / 1.362 GB, free: 14.59 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.176e-05/1.247, allocations: 4 kB / 1.362 GB, free: 14.58 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (7): * Single equations (assignments): 7 * 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 0.0001546/1.247, allocations: 201.1 kB / 1.362 GB, free: 14.38 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.456e-05/1.247, allocations: 120.7 kB / 1.362 GB, free: 14.25 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.208e-05/1.247, allocations: 121.8 kB / 1.363 GB, free: 14.12 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.858e-05/1.247, allocations: 188.2 kB / 1.363 GB, free: 13.93 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.966e-05/1.248, allocations: 176.3 kB / 1.363 GB, free: 13.75 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.333e-05/1.248, allocations: 180.2 kB / 1.363 GB, free: 13.57 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003233/1.248, allocations: 457 kB / 1.363 GB, free: 13.07 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.245e-05/1.248, allocations: 112.9 kB / 1.364 GB, free: 12.95 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.353e-05/1.248, allocations: 104.9 kB / 1.364 GB, free: 12.84 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.715e-05/1.248, allocations: 180.3 kB / 1.364 GB, free: 12.66 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.285e-05/1.248, allocations: 176.3 kB / 1.364 GB, free: 12.48 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.896e-05/1.248, allocations: 184.2 kB / 1.364 GB, free: 12.29 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.599e-05/1.248, allocations: 180.2 kB / 1.364 GB, free: 12.11 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001931/1.249, allocations: 339.4 kB / 1.365 GB, free: 11.75 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000113/1.249, allocations: 201.8 kB / 1.365 GB, free: 11.53 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/1.249, allocations: 176.3 kB / 1.365 GB, free: 11.35 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001153/1.249, allocations: 101 kB / 1.365 GB, free: 11.24 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001163/1.249, allocations: 184.2 kB / 1.365 GB, free: 11.05 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.767e-05/1.249, allocations: 101 kB / 1.365 GB, free: 10.95 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0002137/1.249, allocations: 190 kB / 1.366 GB, free: 10.77 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.1e-07/1.249, allocations: 0 / 1.366 GB, free: 10.77 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0002852/1.25, allocations: 20 kB / 1.366 GB, free: 10.75 MB / 1.092 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 (0): * Single equations (assignments): 0 * 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.0002524/1.25, allocations: 170.5 kB / 1.366 GB, free: 10.57 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.00013/1.25, allocations: 19.94 kB / 1.366 GB, free: 10.55 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 4.97e-06/1.25, allocations: 448 / 1.366 GB, free: 10.55 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 1.213e-06/1.25, allocations: 3.938 kB / 1.366 GB, free: 10.55 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007191/1.251, allocations: 0.5117 MB / 1.366 GB, free: 10.03 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000436/1.251, allocations: 307.4 kB / 1.367 GB, free: 9.699 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002791/1.252, allocations: 0.7085 MB / 1.367 GB, free: 8.965 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 7.176e-05/1.252, allocations: 21.53 kB / 1.367 GB, free: 8.945 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.687e-05/1.252, allocations: 15.44 kB / 1.367 GB, free: 8.93 MB / 1.092 GB Notification: Performance of SimCode: time 2e-07/1.252, allocations: 0 / 1.367 GB, free: 8.93 MB / 1.092 GB Notification: Performance of Templates: time 0.004459/1.256, allocations: 1.598 MB / 1.369 GB, free: 7.352 MB / 1.092 GB make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.makefile (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.sim & ./Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches