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 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.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.001486/0.001486, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001492/0.001492, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.385/1.385, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.62/2.62, allocations: 461.9 MB / 0.7355 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 67.84 kB / 1.055 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8385/0.84, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.1948/1.035, allocations: 174.1 MB / 1.378 GB, free: 14.9 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01048/1.045, allocations: 9.514 MB / 1.388 GB, free: 5.352 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004819/1.046, allocations: 11.94 kB / 1.388 GB, free: 5.34 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.000775/1.047, allocations: 186.7 kB / 1.388 GB, free: 5.156 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0004354/1.047, allocations: 95.3 kB / 1.388 GB, free: 5.062 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.000276/1.047, allocations: 59.92 kB / 1.388 GB, free: 5.004 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0005719/1.048, allocations: 322.7 kB / 1.388 GB, free: 4.688 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004477/1.048, allocations: 208.8 kB / 1.389 GB, free: 4.48 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004806/1.049, allocations: 167.4 kB / 1.389 GB, free: 4.316 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002077/1.049, allocations: 119.4 kB / 1.389 GB, free: 4.199 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 4.387e-05/1.049, allocations: 24 kB / 1.389 GB, free: 4.176 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 6.028e-05/1.049, allocations: 20 kB / 1.389 GB, free: 4.156 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0001008/1.049, allocations: 71.81 kB / 1.389 GB, free: 4.086 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0001602/1.05, allocations: 135.3 kB / 1.389 GB, free: 3.953 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0003649/1.05, allocations: 296.6 kB / 1.389 GB, free: 3.664 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.86e-06/1.05, allocations: 0 / 1.389 GB, free: 3.664 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.763e-06/1.05, allocations: 4 kB / 1.389 GB, free: 3.66 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.074e-05/1.05, allocations: 0 / 1.389 GB, free: 3.66 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.000636/1.051, allocations: 0.5068 MB / 1.39 GB, free: 3.105 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/1.051, allocations: 12.03 kB / 1.39 GB, free: 3.094 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.266e-05/1.051, allocations: 35.56 kB / 1.39 GB, free: 3.059 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004661/1.051, allocations: 278.5 kB / 1.39 GB, free: 2.746 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.648e-05/1.051, allocations: 24.56 kB / 1.39 GB, free: 2.723 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.568e-05/1.051, allocations: 24 kB / 1.39 GB, free: 2.699 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000486/1.052, allocations: 320 kB / 1.391 GB, free: 2.344 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/1.052, allocations: 3.938 kB / 1.391 GB, free: 2.34 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.676e-05/1.052, allocations: 12 kB / 1.391 GB, free: 2.328 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/1.052, allocations: 8 kB / 1.391 GB, free: 2.32 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002556/1.052, allocations: 147.6 kB / 1.391 GB, free: 2.176 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001498/1.054, allocations: 1.808 MB / 1.392 GB, free: 276 kB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 9.887e-05/1.054, allocations: 173.1 kB / 1.393 GB, free: 92 kB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.71e-05/1.054, allocations: 88.14 kB / 1.393 GB, free: 0 / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 6.319e-05/1.054, allocations: 83.38 kB / 1.393 GB, free: 15.91 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.618e-05/1.054, allocations: 109.7 kB / 1.393 GB, free: 15.8 MB / 1.123 GB Notification: Performance of pre-optimization done (n=0): time 9.01e-07/1.054, allocations: 0 / 1.393 GB, free: 15.8 MB / 1.123 GB Notification: Performance of matching and sorting (n=0): time 0.000126/1.054, allocations: 49.42 kB / 1.393 GB, free: 15.75 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.341e-05/1.054, allocations: 126.7 kB / 1.393 GB, free: 15.61 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004255/1.055, allocations: 377.6 kB / 1.393 GB, free: 15.23 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/1.055, allocations: 29.7 kB / 1.393 GB, free: 15.2 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001279/1.055, allocations: 171.8 kB / 1.394 GB, free: 15.03 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 4.328e-06/1.055, allocations: 0 / 1.394 GB, free: 15.03 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.097e-05/1.055, allocations: 17.72 kB / 1.394 GB, free: 15 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001351/1.055, allocations: 338.8 kB / 1.394 GB, free: 14.66 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.755e-05/1.055, allocations: 0 / 1.394 GB, free: 14.66 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.805e-05/1.055, allocations: 52.22 kB / 1.394 GB, free: 14.6 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.328e-05/1.055, allocations: 40.23 kB / 1.394 GB, free: 14.54 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/1.055, allocations: 0 / 1.394 GB, free: 14.54 MB / 1.123 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001903/1.055, allocations: 97.19 kB / 1.394 GB, free: 14.44 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/1.055, allocations: 4 kB / 1.394 GB, free: 14.44 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/1.055, allocations: 3.938 kB / 1.394 GB, free: 14.43 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/1.055, allocations: 4 kB / 1.394 GB, free: 14.43 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.221e-05/1.055, allocations: 8 kB / 1.394 GB, free: 14.42 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/1.055, allocations: 0 / 1.394 GB, free: 14.42 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.883e-05/1.055, allocations: 27.67 kB / 1.394 GB, free: 14.39 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.346e-06/1.055, allocations: 4 kB / 1.394 GB, free: 14.39 MB / 1.123 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.0001429/1.056, allocations: 209.3 kB / 1.394 GB, free: 14.18 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.182e-05/1.056, allocations: 140.5 kB / 1.395 GB, free: 14.03 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.195e-05/1.056, allocations: 131 kB / 1.395 GB, free: 13.89 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.316e-05/1.056, allocations: 176.3 kB / 1.395 GB, free: 13.71 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.927e-05/1.056, allocations: 180.2 kB / 1.395 GB, free: 13.53 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.454e-05/1.056, allocations: 180.3 kB / 1.395 GB, free: 13.35 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003404/1.056, allocations: 497 kB / 1.396 GB, free: 12.8 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-05/1.056, allocations: 104.9 kB / 1.396 GB, free: 12.7 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.899e-05/1.056, allocations: 105 kB / 1.396 GB, free: 12.59 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.163e-05/1.056, allocations: 184.2 kB / 1.396 GB, free: 12.4 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.107e-05/1.057, allocations: 180.2 kB / 1.396 GB, free: 12.21 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.577e-05/1.057, allocations: 188.2 kB / 1.396 GB, free: 12.02 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.318e-05/1.057, allocations: 184.2 kB / 1.397 GB, free: 11.84 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001524/1.057, allocations: 327.4 kB / 1.397 GB, free: 11.49 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001421/1.057, allocations: 217.6 kB / 1.397 GB, free: 11.25 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000105/1.057, allocations: 184.4 kB / 1.397 GB, free: 11.07 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/1.057, allocations: 109 kB / 1.397 GB, free: 10.95 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.301e-05/1.057, allocations: 184.2 kB / 1.397 GB, free: 10.77 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.302e-05/1.057, allocations: 105 kB / 1.398 GB, free: 10.66 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0002763/1.058, allocations: 271.2 kB / 1.398 GB, free: 10.39 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.1e-07/1.058, allocations: 0 / 1.398 GB, free: 10.39 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.000285/1.058, allocations: 27.94 kB / 1.398 GB, free: 10.37 MB / 1.123 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.0001434/1.058, allocations: 178.5 kB / 1.398 GB, free: 10.18 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 8.513e-05/1.058, allocations: 19.92 kB / 1.398 GB, free: 10.16 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/1.058, allocations: 0 / 1.398 GB, free: 10.16 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 1.593e-06/1.058, allocations: 0 / 1.398 GB, free: 10.16 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008318/1.059, allocations: 0.5498 MB / 1.399 GB, free: 9.613 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006851/1.06, allocations: 471 kB / 1.399 GB, free: 9.117 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003298/1.06, allocations: 0.7518 MB / 1.4 GB, free: 8.34 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.318e-05/1.06, allocations: 19.44 kB / 1.4 GB, free: 8.32 MB / 1.123 GB Notification: Performance of SimCode: time 2.01e-07/1.06, allocations: 0 / 1.4 GB, free: 8.32 MB / 1.123 GB Notification: Performance of Templates: time 0.005907/1.066, allocations: 3.144 MB / 1.403 GB, free: 5.203 MB / 1.123 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/jenkins1/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