Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.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.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conAir.m_flow|conAir.T|conAir.X_w|conAir.C.1.|souRev.outlet.backward.T|souRev.outlet.backward.X_w|souRev.outlet.backward.C.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2") translateModel(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conAir.m_flow|conAir.T|conAir.X_w|conAir.C.1.|souRev.outlet.backward.T|souRev.outlet.backward.X_w|souRev.outlet.backward.C.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009353/0.009353, allocations: 97.56 kB / 15.73 MB, free: 6.035 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.002217/0.002217, allocations: 201.2 kB / 16.68 MB, free: 5.961 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.445/1.445, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.93/2.93, allocations: 472.6 MB / 0.7453 GB, free: 4.637 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002021/0.002021, allocations: 63.89 kB / 1.07 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4115/0.4135, allocations: 159.9 MB / 1.226 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 1.294/1.708, allocations: 174.1 MB / 1.396 GB, free: 7.215 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.01136/1.719, allocations: 9.506 MB / 1.405 GB, free: 15.52 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005772/1.72, allocations: 10.03 kB / 1.405 GB, free: 15.51 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0007468/1.721, allocations: 189.8 kB / 1.405 GB, free: 15.35 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0003222/1.721, allocations: 91.47 kB / 1.405 GB, free: 15.27 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002203/1.721, allocations: 62.02 kB / 1.405 GB, free: 15.22 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0004823/1.722, allocations: 336.2 kB / 1.406 GB, free: 15.02 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004381/1.722, allocations: 201.3 kB / 1.406 GB, free: 14.91 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004128/1.723, allocations: 165.2 kB / 1.406 GB, free: 14.82 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001798/1.723, allocations: 124.8 kB / 1.406 GB, free: 14.73 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 4.493e-05/1.723, allocations: 22.47 kB / 1.406 GB, free: 14.73 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 4.801e-05/1.723, allocations: 21.38 kB / 1.406 GB, free: 14.73 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0001062/1.723, allocations: 72.45 kB / 1.406 GB, free: 14.68 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0001519/1.723, allocations: 133.8 kB / 1.406 GB, free: 14.59 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0004031/1.724, allocations: 291.5 kB / 1.407 GB, free: 14.38 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/1.724, allocations: 1.125 kB / 1.407 GB, free: 14.38 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.345e-06/1.724, allocations: 0 / 1.407 GB, free: 14.38 MB / 1.107 GB Notification: Performance of Transformations before backend: time 8.476e-06/1.724, allocations: 0 / 1.407 GB, free: 14.38 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0006296/1.724, allocations: 0.5191 MB / 1.407 GB, free: 13.88 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.344e-05/1.724, allocations: 13.62 kB / 1.407 GB, free: 13.88 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.496e-05/1.724, allocations: 39.23 kB / 1.407 GB, free: 13.86 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004567/1.725, allocations: 266.6 kB / 1.407 GB, free: 13.59 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.35e-05/1.725, allocations: 25.28 kB / 1.407 GB, free: 13.58 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.119e-05/1.725, allocations: 28.25 kB / 1.407 GB, free: 13.57 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005401/1.726, allocations: 327.1 kB / 1.408 GB, free: 13.3 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/1.726, allocations: 1.062 kB / 1.408 GB, free: 13.3 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.892e-05/1.726, allocations: 12.38 kB / 1.408 GB, free: 13.3 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.428e-05/1.726, allocations: 6.812 kB / 1.408 GB, free: 13.3 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002524/1.726, allocations: 147.1 kB / 1.408 GB, free: 13.22 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001469/1.727, allocations: 1.827 MB / 1.41 GB, free: 11.46 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001021/1.727, allocations: 174.2 kB / 1.41 GB, free: 11.28 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.175e-05/1.727, allocations: 80.14 kB / 1.41 GB, free: 11.2 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 2.936e-05/1.728, allocations: 75.28 kB / 1.41 GB, free: 11.12 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.498e-05/1.728, allocations: 115.2 kB / 1.41 GB, free: 11 MB / 1.107 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/1.728, allocations: 0 / 1.41 GB, free: 11 MB / 1.107 GB Notification: Performance of matching and sorting (n=0): time 0.0001229/1.728, allocations: 58.08 kB / 1.41 GB, free: 10.95 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.007e-05/1.728, allocations: 127.8 kB / 1.41 GB, free: 10.81 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004997/1.728, allocations: 372.6 kB / 1.411 GB, free: 10.58 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/1.728, allocations: 26.77 kB / 1.411 GB, free: 10.55 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001595/1.728, allocations: 177.9 kB / 1.411 GB, free: 10.38 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 3.577e-06/1.728, allocations: 0 / 1.411 GB, free: 10.38 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.107e-05/1.729, allocations: 22.33 kB / 1.411 GB, free: 10.36 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001331/1.729, allocations: 337.7 kB / 1.411 GB, free: 10.03 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.669e-05/1.729, allocations: 2.656 kB / 1.411 GB, free: 10.03 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.797e-05/1.729, allocations: 39.81 kB / 1.411 GB, free: 9.98 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.415e-05/1.729, allocations: 44.17 kB / 1.411 GB, free: 9.93 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/1.729, allocations: 1.094 kB / 1.411 GB, free: 9.93 MB / 1.107 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000176/1.729, allocations: 91.42 kB / 1.411 GB, free: 9.863 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/1.729, allocations: 11.72 kB / 1.411 GB, free: 9.859 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/1.729, allocations: 1.469 kB / 1.411 GB, free: 9.859 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/1.729, allocations: 1.375 kB / 1.411 GB, free: 9.859 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.179e-05/1.729, allocations: 11.3 kB / 1.411 GB, free: 9.855 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/1.729, allocations: 2.844 kB / 1.411 GB, free: 9.855 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.659e-05/1.729, allocations: 27.02 kB / 1.411 GB, free: 9.836 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/1.729, allocations: 2.656 kB / 1.411 GB, free: 9.836 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (5): * Single equations (assignments): 5 * 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.00016/1.729, allocations: 214.3 kB / 1.412 GB, free: 9.629 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.266e-05/1.73, allocations: 138.2 kB / 1.412 GB, free: 9.5 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.065e-05/1.73, allocations: 128.7 kB / 1.412 GB, free: 9.379 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.661e-05/1.73, allocations: 181.4 kB / 1.412 GB, free: 9.195 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-05/1.73, allocations: 178.4 kB / 1.412 GB, free: 9.016 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.666e-05/1.73, allocations: 185.5 kB / 1.412 GB, free: 8.828 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003497/1.73, allocations: 490.1 kB / 1.413 GB, free: 8.324 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.699e-05/1.73, allocations: 109.9 kB / 1.413 GB, free: 8.211 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.866e-05/1.73, allocations: 109.5 kB / 1.413 GB, free: 8.102 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.13e-05/1.73, allocations: 185.4 kB / 1.413 GB, free: 7.914 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.07e-05/1.73, allocations: 189.2 kB / 1.413 GB, free: 7.723 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.487e-05/1.731, allocations: 177.4 kB / 1.414 GB, free: 7.543 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.86e-05/1.731, allocations: 185.3 kB / 1.414 GB, free: 7.355 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001575/1.731, allocations: 326.8 kB / 1.414 GB, free: 7.027 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001283/1.731, allocations: 214.9 kB / 1.414 GB, free: 6.801 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001029/1.731, allocations: 181.7 kB / 1.414 GB, free: 6.617 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/1.731, allocations: 104.9 kB / 1.415 GB, free: 6.508 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.893e-05/1.731, allocations: 181.5 kB / 1.415 GB, free: 6.324 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.312e-05/1.731, allocations: 102.6 kB / 1.415 GB, free: 6.219 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0002994/1.732, allocations: 270.7 kB / 1.415 GB, free: 6.051 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.21e-07/1.732, allocations: 0 / 1.415 GB, free: 6.051 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0002723/1.732, allocations: 27 kB / 1.415 GB, free: 6.051 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 (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.0001526/1.732, allocations: 181.2 kB / 1.415 GB, free: 5.883 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 9.276e-05/1.732, allocations: 16.53 kB / 1.415 GB, free: 5.875 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/1.732, allocations: 0 / 1.415 GB, free: 5.875 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 4.939e-06/1.732, allocations: 5.312 kB / 1.415 GB, free: 5.871 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000859/1.733, allocations: 0.5492 MB / 1.416 GB, free: 5.375 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006943/1.734, allocations: 452.8 kB / 1.416 GB, free: 5.035 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003449/1.734, allocations: 0.7537 MB / 1.417 GB, free: 4.301 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0001015/1.734, allocations: 28.84 kB / 1.417 GB, free: 4.289 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.047e-05/1.734, allocations: 19.81 kB / 1.417 GB, free: 4.281 MB / 1.107 GB Notification: Performance of SimCode: time 6.52e-07/1.734, allocations: 0 / 1.417 GB, free: 4.281 MB / 1.107 GB Notification: Performance of Templates: time 0.008964/1.743, allocations: 3.19 MB / 1.42 GB, free: 2.707 MB / 1.107 GB make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.makefile (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & ./Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches