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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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: "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="me",version="2.0",platforms={"static"}) 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: 99.31 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.00198/0.00198, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.575/2.575, allocations: 223.2 MB / 239.9 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.685/4.685, allocations: 409.2 MB / 0.6838 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006276/0.0006276, allocations: 8 kB / 0.8375 GB, free: 6.605 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.506/1.506, allocations: 146.8 MB / 0.9809 GB, free: 6.352 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.2907/1.797, allocations: 145.3 MB / 1.123 GB, free: 4.652 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01269/1.81, allocations: 7.444 MB / 1.13 GB, free: 13.19 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004529/1.811, allocations: 4 kB / 1.13 GB, free: 13.18 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0004244/1.811, allocations: 55.59 kB / 1.13 GB, free: 13.13 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0004693/1.811, allocations: 127.6 kB / 1.13 GB, free: 13 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002749/1.812, allocations: 43.95 kB / 1.13 GB, free: 12.96 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001002/1.813, allocations: 307.2 kB / 1.131 GB, free: 12.66 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004756/1.813, allocations: 141.1 kB / 1.131 GB, free: 12.52 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004561/1.814, allocations: 127.5 kB / 1.131 GB, free: 12.4 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001571/1.814, allocations: 67.59 kB / 1.131 GB, free: 12.33 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.401e-05/1.814, allocations: 4 kB / 1.131 GB, free: 12.33 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 3.346e-05/1.814, allocations: 4 kB / 1.131 GB, free: 12.32 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 9.388e-05/1.814, allocations: 47.83 kB / 1.131 GB, free: 12.28 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001037/1.814, allocations: 69.58 kB / 1.131 GB, free: 12.2 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003293/1.815, allocations: 211.4 kB / 1.131 GB, free: 12 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/1.815, allocations: 0 / 1.131 GB, free: 12 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.913e-06/1.815, allocations: 0 / 1.131 GB, free: 12 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.536e-06/1.815, allocations: 0 / 1.131 GB, free: 12 MB / 0.8887 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.001114/1.816, allocations: 483 kB / 1.132 GB, free: 11.47 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 6.819e-05/1.816, allocations: 12.02 kB / 1.132 GB, free: 11.46 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001056/1.816, allocations: 66.42 kB / 1.132 GB, free: 11.39 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.216e-05/1.816, allocations: 27.72 kB / 1.132 GB, free: 11.36 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004908/1.816, allocations: 262.5 kB / 1.132 GB, free: 11.06 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.695e-05/1.817, allocations: 20.56 kB / 1.132 GB, free: 11.04 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.457e-05/1.817, allocations: 28 kB / 1.132 GB, free: 11.02 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007547/1.817, allocations: 318.4 kB / 1.132 GB, free: 10.66 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.01e-05/1.817, allocations: 3.984 kB / 1.132 GB, free: 10.66 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.272e-05/1.817, allocations: 15.95 kB / 1.132 GB, free: 10.64 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.393e-05/1.817, allocations: 12 kB / 1.132 GB, free: 10.63 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003599/1.818, allocations: 139.7 kB / 1.133 GB, free: 10.5 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002555/1.82, allocations: 1.812 MB / 1.134 GB, free: 8.586 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001865/1.821, allocations: 185 kB / 1.134 GB, free: 8.395 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 5.175e-05/1.821, allocations: 75.28 kB / 1.135 GB, free: 8.32 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001518/1.821, allocations: 113.9 kB / 1.135 GB, free: 8.199 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=0): time 3.046e-06/1.821, allocations: 0 / 1.135 GB, free: 8.199 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0): time 0.0001791/1.821, allocations: 53.38 kB / 1.135 GB, free: 8.141 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/1.821, allocations: 130.6 kB / 1.135 GB, free: 8 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000584/1.822, allocations: 369.7 kB / 1.135 GB, free: 7.633 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.063e-05/1.822, allocations: 25.7 kB / 1.135 GB, free: 7.602 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002248/1.822, allocations: 167.8 kB / 1.135 GB, free: 7.434 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 6.462e-06/1.822, allocations: 0 / 1.135 GB, free: 7.434 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.849e-06/1.822, allocations: 4 kB / 1.135 GB, free: 7.43 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002378/1.822, allocations: 342.8 kB / 1.136 GB, free: 7.086 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.004e-05/1.822, allocations: 4 kB / 1.136 GB, free: 7.082 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.767e-05/1.822, allocations: 32.3 kB / 1.136 GB, free: 7.035 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.258e-05/1.822, allocations: 12.11 kB / 1.136 GB, free: 7.023 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/1.822, allocations: 7.938 kB / 1.136 GB, free: 7.016 MB / 0.8887 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002492/1.823, allocations: 81.28 kB / 1.136 GB, free: 6.93 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.821e-05/1.823, allocations: 11.98 kB / 1.136 GB, free: 6.918 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.467e-06/1.823, allocations: 0 / 1.136 GB, free: 6.918 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.523e-05/1.823, allocations: 0 / 1.136 GB, free: 6.918 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/1.823, allocations: 8 kB / 1.136 GB, free: 6.91 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.988e-05/1.823, allocations: 12.05 kB / 1.136 GB, free: 6.898 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001324/1.823, allocations: 31.59 kB / 1.136 GB, free: 6.867 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.392e-05/1.823, allocations: 4 kB / 1.136 GB, free: 6.863 MB / 0.8887 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.0002948/1.823, allocations: 209.1 kB / 1.136 GB, free: 6.648 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000151/1.824, allocations: 128.7 kB / 1.136 GB, free: 6.516 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001104/1.824, allocations: 126.9 kB / 1.136 GB, free: 6.383 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.981e-05/1.824, allocations: 184.2 kB / 1.137 GB, free: 6.195 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001136/1.824, allocations: 184.3 kB / 1.137 GB, free: 6.008 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001107/1.824, allocations: 184.2 kB / 1.137 GB, free: 5.82 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005596/1.825, allocations: 493.2 kB / 1.137 GB, free: 5.281 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.924e-05/1.825, allocations: 104.9 kB / 1.137 GB, free: 5.172 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.151e-05/1.825, allocations: 101 kB / 1.138 GB, free: 5.066 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001031/1.825, allocations: 184.2 kB / 1.138 GB, free: 4.879 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001055/1.825, allocations: 180.2 kB / 1.138 GB, free: 4.695 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.544e-05/1.825, allocations: 184.3 kB / 1.138 GB, free: 4.508 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.621e-05/1.825, allocations: 180.2 kB / 1.138 GB, free: 4.324 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002432/1.825, allocations: 347.6 kB / 1.139 GB, free: 3.961 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001795/1.826, allocations: 209.8 kB / 1.139 GB, free: 3.73 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001274/1.826, allocations: 176.3 kB / 1.139 GB, free: 3.551 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000183/1.826, allocations: 108.9 kB / 1.139 GB, free: 3.438 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.38e-05/1.826, allocations: 176.3 kB / 1.139 GB, free: 3.258 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001177/1.826, allocations: 108.9 kB / 1.139 GB, free: 3.145 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0003825/1.827, allocations: 267.2 kB / 1.14 GB, free: 2.887 MB / 0.8887 GB Notification: Performance of sort global known variables: time 5.41e-07/1.827, allocations: 4 kB / 1.14 GB, free: 2.883 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0003855/1.827, allocations: 31.94 kB / 1.14 GB, free: 2.852 MB / 0.8887 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.0006602/1.828, allocations: 0.8357 MB / 1.14 GB, free: 1.988 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0001194/1.828, allocations: 19.92 kB / 1.14 GB, free: 1.969 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/1.828, allocations: 0 / 1.14 GB, free: 1.969 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 2.194e-06/1.828, allocations: 0 / 1.14 GB, free: 1.969 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00131/1.829, allocations: 0.6177 MB / 1.141 GB, free: 1.348 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00314/1.832, allocations: 1.992 MB / 1.143 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005671/1.833, allocations: 0.756 MB / 1.144 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.000205/1.833, allocations: 34.97 kB / 1.144 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001755/1.833, allocations: 71.42 kB / 1.144 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of SimCode: time 1.092e-06/1.833, allocations: 0 / 1.144 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02867/1.862, allocations: 5.482 MB / 1.149 GB, free: 9.148 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004049/1.863, allocations: 192.5 kB / 1.149 GB, free: 8.914 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.053/4.915, allocations: 1.625 kB / 1.149 GB, free: 8.914 MB / 0.9044 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.fmu > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.mat does not exist to compare? outputFormat=mat