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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001139/0.001139, allocations: 99.16 kB / 15.05 MB, free: 1.105 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.001338/0.001338, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 223.2 MB / 239.9 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.799/2.799, allocations: 436.5 MB / 0.7104 GB, free: 7.844 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003741/0.0003741, allocations: 8 kB / 0.8708 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8017/0.8021, allocations: 153.7 MB / 1.021 GB, free: 1.219 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.1784/0.9805, allocations: 145.3 MB / 1.163 GB, free: 15.52 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.008772/0.9894, allocations: 7.448 MB / 1.17 GB, free: 8.051 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003343/0.9898, allocations: 7.938 kB / 1.17 GB, free: 8.043 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0003521/0.9901, allocations: 51.66 kB / 1.17 GB, free: 7.992 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0005969/0.9907, allocations: 119.6 kB / 1.17 GB, free: 7.875 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003534/0.9911, allocations: 47.95 kB / 1.17 GB, free: 7.828 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001029/0.9922, allocations: 307.2 kB / 1.171 GB, free: 7.527 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004195/0.9926, allocations: 141 kB / 1.171 GB, free: 7.391 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004778/0.9931, allocations: 119.5 kB / 1.171 GB, free: 7.273 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001451/0.9932, allocations: 71.58 kB / 1.171 GB, free: 7.203 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.758e-05/0.9933, allocations: 4 kB / 1.171 GB, free: 7.199 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 3.154e-05/0.9933, allocations: 4 kB / 1.171 GB, free: 7.195 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 7.683e-05/0.9934, allocations: 47.83 kB / 1.171 GB, free: 7.148 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 9.41e-05/0.9935, allocations: 77.52 kB / 1.171 GB, free: 7.066 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002641/0.9938, allocations: 207.4 kB / 1.171 GB, free: 6.863 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.9938, allocations: 7.938 kB / 1.171 GB, free: 6.855 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.447e-06/0.9938, allocations: 0 / 1.171 GB, free: 6.855 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.542e-05/0.9938, allocations: 0 / 1.171 GB, free: 6.855 MB / 0.92 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.0007281/0.9945, allocations: 479 kB / 1.172 GB, free: 6.34 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.49e-05/0.9946, allocations: 15.92 kB / 1.172 GB, free: 6.324 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.827e-05/0.9947, allocations: 27.72 kB / 1.172 GB, free: 6.297 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004058/0.9951, allocations: 260.1 kB / 1.172 GB, free: 6.004 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.198e-05/0.9952, allocations: 24.56 kB / 1.172 GB, free: 5.977 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.588e-05/0.9952, allocations: 27.94 kB / 1.172 GB, free: 5.949 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005161/0.9957, allocations: 320 kB / 1.172 GB, free: 5.594 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.9958, allocations: 3.953 kB / 1.172 GB, free: 5.59 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.661e-05/0.9958, allocations: 12 kB / 1.172 GB, free: 5.578 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.258e-05/0.9958, allocations: 8 kB / 1.172 GB, free: 5.57 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002271/0.996, allocations: 135.8 kB / 1.172 GB, free: 5.438 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001455/0.9975, allocations: 1.824 MB / 1.174 GB, free: 3.516 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 8.297e-05/0.9976, allocations: 169.1 kB / 1.174 GB, free: 3.34 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.988e-05/0.9976, allocations: 75.28 kB / 1.174 GB, free: 3.266 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.707e-05/0.9977, allocations: 113.8 kB / 1.175 GB, free: 3.145 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 1.874e-06/0.9977, allocations: 0 / 1.175 GB, free: 3.145 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 0.0001053/0.9978, allocations: 57.31 kB / 1.175 GB, free: 3.082 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.726e-05/0.9979, allocations: 126.7 kB / 1.175 GB, free: 2.945 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004217/0.9983, allocations: 369.7 kB / 1.175 GB, free: 2.578 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/0.9983, allocations: 29.7 kB / 1.175 GB, free: 2.543 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001515/0.9985, allocations: 171.8 kB / 1.175 GB, free: 2.371 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.975e-06/0.9985, allocations: 0 / 1.175 GB, free: 2.371 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-06/0.9985, allocations: 0 / 1.175 GB, free: 2.371 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001703/0.9987, allocations: 338.8 kB / 1.176 GB, free: 2.031 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.564e-05/0.9987, allocations: 0 / 1.176 GB, free: 2.031 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.995e-05/0.9988, allocations: 40.28 kB / 1.176 GB, free: 1.977 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.115e-05/0.9988, allocations: 16.05 kB / 1.176 GB, free: 1.961 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.9988, allocations: 3.938 kB / 1.176 GB, free: 1.957 MB / 0.92 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002187/0.999, allocations: 81.34 kB / 1.176 GB, free: 1.871 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/0.9991, allocations: 4 kB / 1.176 GB, free: 1.867 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.9991, allocations: 8.156 kB / 1.176 GB, free: 1.859 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.9991, allocations: 3.953 kB / 1.176 GB, free: 1.855 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.824e-05/0.9992, allocations: 16.06 kB / 1.176 GB, free: 1.84 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.9992, allocations: 0 / 1.176 GB, free: 1.84 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.464e-05/0.9993, allocations: 31.58 kB / 1.176 GB, free: 1.809 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-06/0.9993, allocations: 4 kB / 1.176 GB, free: 1.805 MB / 0.92 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001796/0.9995, allocations: 213.1 kB / 1.176 GB, free: 1.586 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.964e-05/0.9996, allocations: 128.7 kB / 1.176 GB, free: 1.453 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001014/0.9997, allocations: 134.9 kB / 1.176 GB, free: 1.312 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.421e-05/0.9998, allocations: 180.3 kB / 1.176 GB, free: 1.129 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.537e-05/0.9999, allocations: 188.2 kB / 1.177 GB, free: 0.9375 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.935e-05/1, allocations: 184.3 kB / 1.177 GB, free: 0.75 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004077/1, allocations: 489.1 kB / 1.177 GB, free: 220 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-05/1, allocations: 108.9 kB / 1.177 GB, free: 104 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.328e-05/1.001, allocations: 105 kB / 1.177 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.516e-05/1.001, allocations: 180.2 kB / 1.178 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.931e-05/1.001, allocations: 176.3 kB / 1.178 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.932e-05/1.001, allocations: 176.3 kB / 1.178 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.779e-05/1.001, allocations: 192.2 kB / 1.178 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001633/1.001, allocations: 335.3 kB / 1.178 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001248/1.001, allocations: 205.8 kB / 1.179 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.776e-05/1.001, allocations: 176.3 kB / 1.179 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/1.001, allocations: 112.9 kB / 1.179 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.144e-05/1.001, allocations: 180.3 kB / 1.179 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-05/1.002, allocations: 112.9 kB / 1.179 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002788/1.002, allocations: 267.1 kB / 1.179 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.9e-07/1.002, allocations: 0 / 1.179 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002811/1.002, allocations: 35.94 kB / 1.179 GB, free: 13.79 MB / 0.9356 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001332/1.002, allocations: 170.5 kB / 1.18 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 7.61e-05/1.002, allocations: 16.17 kB / 1.18 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/1.002, allocations: 4.062 kB / 1.18 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.343e-05/1.002, allocations: 4 kB / 1.18 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008342/1.003, allocations: 0.6155 MB / 1.18 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000731/1.004, allocations: 498.6 kB / 1.181 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004068/1.004, allocations: 0.7599 MB / 1.181 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001255/1.004, allocations: 30.97 kB / 1.182 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.436e-05/1.005, allocations: 19.44 kB / 1.182 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of SimCode: time 4.9e-07/1.005, allocations: 0 / 1.182 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of Templates: time 0.006947/1.011, allocations: 2.912 MB / 1.184 GB, free: 8.75 MB / 0.9356 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","../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches