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.001525/0.001525, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.001678/0.001678, allocations: 186.2 kB / 17.34 MB, free: 5.633 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 / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.75/2.75, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001477, allocations: 55.91 kB / 1.055 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8597/0.8612, allocations: 157.4 MB / 1.208 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.1914/1.053, allocations: 174 MB / 1.378 GB, free: 14.87 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01021/1.063, allocations: 9.514 MB / 1.388 GB, free: 5.324 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003709/1.063, allocations: 11.94 kB / 1.388 GB, free: 5.312 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0006739/1.064, allocations: 194.7 kB / 1.388 GB, free: 5.121 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0003465/1.064, allocations: 87.31 kB / 1.388 GB, free: 5.035 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002356/1.065, allocations: 63.91 kB / 1.388 GB, free: 4.973 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0004961/1.065, allocations: 330.7 kB / 1.388 GB, free: 4.648 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004097/1.066, allocations: 208.9 kB / 1.389 GB, free: 4.441 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000424/1.066, allocations: 167.3 kB / 1.389 GB, free: 4.277 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000201/1.066, allocations: 123.5 kB / 1.389 GB, free: 4.156 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 4.037e-05/1.066, allocations: 20 kB / 1.389 GB, free: 4.137 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 4.964e-05/1.066, allocations: 24 kB / 1.389 GB, free: 4.113 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 9.777e-05/1.066, allocations: 75.75 kB / 1.389 GB, free: 4.039 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0001546/1.067, allocations: 123.4 kB / 1.389 GB, free: 3.918 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.000333/1.067, allocations: 296.6 kB / 1.389 GB, free: 3.629 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/1.067, allocations: 4 kB / 1.389 GB, free: 3.625 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.934e-06/1.067, allocations: 0 / 1.389 GB, free: 3.625 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.253e-05/1.067, allocations: 0 / 1.389 GB, free: 3.625 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.0006087/1.068, allocations: 0.5146 MB / 1.39 GB, free: 3.062 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/1.068, allocations: 8.031 kB / 1.39 GB, free: 3.055 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.413e-05/1.068, allocations: 35.56 kB / 1.39 GB, free: 3.02 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004644/1.068, allocations: 270.5 kB / 1.39 GB, free: 2.715 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.193e-05/1.068, allocations: 28.56 kB / 1.39 GB, free: 2.688 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.342e-05/1.068, allocations: 24 kB / 1.39 GB, free: 2.664 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005023/1.069, allocations: 320 kB / 1.391 GB, free: 2.309 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/1.069, allocations: 3.938 kB / 1.391 GB, free: 2.305 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.669e-05/1.069, allocations: 12 kB / 1.391 GB, free: 2.293 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/1.069, allocations: 8 kB / 1.391 GB, free: 2.285 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002315/1.069, allocations: 143.7 kB / 1.391 GB, free: 2.145 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001446/1.071, allocations: 1.812 MB / 1.392 GB, free: 240 kB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 9.422e-05/1.071, allocations: 173.1 kB / 1.393 GB, free: 56 kB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.08e-05/1.071, allocations: 80.14 kB / 1.393 GB, free: 15.97 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 4.37e-05/1.071, allocations: 87.27 kB / 1.393 GB, free: 15.89 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.898e-05/1.071, allocations: 109.8 kB / 1.393 GB, free: 15.77 MB / 1.123 GB Notification: Performance of pre-optimization done (n=0): time 1.402e-06/1.071, allocations: 3.938 kB / 1.393 GB, free: 15.77 MB / 1.123 GB Notification: Performance of matching and sorting (n=0): time 0.000108/1.071, allocations: 53.42 kB / 1.393 GB, free: 15.71 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.356e-05/1.071, allocations: 130.7 kB / 1.393 GB, free: 15.57 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004173/1.071, allocations: 377.6 kB / 1.393 GB, free: 15.19 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 1.161e-05/1.071, allocations: 25.7 kB / 1.393 GB, free: 15.16 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001439/1.072, allocations: 163.9 kB / 1.394 GB, free: 15 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 3.416e-06/1.072, allocations: 0 / 1.394 GB, free: 15 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.683e-05/1.072, allocations: 17.72 kB / 1.394 GB, free: 14.97 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001379/1.072, allocations: 338.8 kB / 1.394 GB, free: 14.63 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.088e-05/1.072, allocations: 7.984 kB / 1.394 GB, free: 14.62 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.447e-05/1.072, allocations: 36.23 kB / 1.394 GB, free: 14.57 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.265e-05/1.072, allocations: 44.23 kB / 1.394 GB, free: 14.52 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/1.072, allocations: 0 / 1.394 GB, free: 14.52 MB / 1.123 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001661/1.072, allocations: 97.31 kB / 1.394 GB, free: 14.41 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/1.072, allocations: 8 kB / 1.394 GB, free: 14.41 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/1.072, allocations: 3.938 kB / 1.394 GB, free: 14.4 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/1.072, allocations: 3.984 kB / 1.394 GB, free: 14.4 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.916e-05/1.072, allocations: 8 kB / 1.394 GB, free: 14.39 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/1.072, allocations: 4 kB / 1.394 GB, free: 14.39 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.662e-05/1.072, allocations: 19.69 kB / 1.394 GB, free: 14.37 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/1.072, allocations: 4 kB / 1.394 GB, free: 14.36 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.0001691/1.073, allocations: 209.1 kB / 1.394 GB, free: 14.15 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.869e-05/1.073, allocations: 144.5 kB / 1.395 GB, free: 14 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.077e-05/1.073, allocations: 127 kB / 1.395 GB, free: 13.87 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.206e-05/1.073, allocations: 180.2 kB / 1.395 GB, free: 13.68 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.2e-05/1.073, allocations: 184.2 kB / 1.395 GB, free: 13.5 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.801e-05/1.073, allocations: 176.3 kB / 1.395 GB, free: 13.32 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003284/1.073, allocations: 0.4894 MB / 1.396 GB, free: 12.77 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.259e-05/1.073, allocations: 108.9 kB / 1.396 GB, free: 12.66 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.111e-05/1.073, allocations: 105 kB / 1.396 GB, free: 12.55 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.005e-05/1.073, allocations: 188.2 kB / 1.396 GB, free: 12.36 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-05/1.074, allocations: 176.3 kB / 1.396 GB, free: 12.18 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.065e-05/1.074, allocations: 188.2 kB / 1.396 GB, free: 11.98 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.935e-05/1.074, allocations: 184.2 kB / 1.397 GB, free: 11.8 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001646/1.074, allocations: 331.5 kB / 1.397 GB, free: 11.45 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001191/1.074, allocations: 217.6 kB / 1.397 GB, free: 11.21 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.616e-05/1.074, allocations: 180.5 kB / 1.397 GB, free: 11.03 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001158/1.074, allocations: 109 kB / 1.397 GB, free: 10.91 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.244e-05/1.074, allocations: 184.2 kB / 1.397 GB, free: 10.73 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.04e-05/1.074, allocations: 101 kB / 1.398 GB, free: 10.62 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0002816/1.075, allocations: 271.2 kB / 1.398 GB, free: 10.36 MB / 1.123 GB Notification: Performance of sort global known variables: time 2.01e-07/1.075, allocations: 0 / 1.398 GB, free: 10.36 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0002745/1.075, allocations: 35.88 kB / 1.398 GB, free: 10.32 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.0001469/1.075, allocations: 178.5 kB / 1.398 GB, free: 10.14 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 8.611e-05/1.075, allocations: 15.94 kB / 1.398 GB, free: 10.12 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/1.075, allocations: 0 / 1.398 GB, free: 10.12 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 2.094e-06/1.075, allocations: 4 kB / 1.398 GB, free: 10.12 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008627/1.076, allocations: 0.5519 MB / 1.399 GB, free: 9.566 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006869/1.077, allocations: 467 kB / 1.399 GB, free: 9.074 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003639/1.077, allocations: 0.7519 MB / 1.4 GB, free: 8.297 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.955e-05/1.077, allocations: 19.44 kB / 1.4 GB, free: 8.277 MB / 1.123 GB Notification: Performance of SimCode: time 4.41e-07/1.077, allocations: 0 / 1.4 GB, free: 8.277 MB / 1.123 GB Notification: Performance of Templates: time 0.005563/1.083, allocations: 3.134 MB / 1.403 GB, free: 5.168 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