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.001118/0.001117, allocations: 91.53 kB / 15.06 MB, free: 1.098 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.001491/0.001492, allocations: 172.7 kB / 15.95 MB, free: 208 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 / 240 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.703/2.703, allocations: 409.4 MB / 0.684 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004772/0.0004772, allocations: 8 kB / 0.8378 GB, free: 6.543 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7563/0.7568, allocations: 146.8 MB / 0.9811 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.1781/0.9349, allocations: 158.2 MB / 1.136 GB, free: 7.668 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.008179/0.9432, allocations: 8.778 MB / 1.144 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002835/0.9435, allocations: 7.938 kB / 1.144 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0005043/0.944, allocations: 127.1 kB / 1.144 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0002112/0.9442, allocations: 87.42 kB / 1.144 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001529/0.9444, allocations: 47.95 kB / 1.144 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0003401/0.9447, allocations: 334.8 kB / 1.145 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002426/0.945, allocations: 137.1 kB / 1.145 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002782/0.9453, allocations: 127.4 kB / 1.145 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001129/0.9454, allocations: 91.5 kB / 1.145 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.677e-05/0.9454, allocations: 4 kB / 1.145 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 2.413e-05/0.9455, allocations: 8 kB / 1.145 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 6.23e-05/0.9455, allocations: 47.81 kB / 1.145 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 5.605e-05/0.9456, allocations: 69.52 kB / 1.145 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0001922/0.9458, allocations: 215.4 kB / 1.145 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.9458, allocations: 0 / 1.145 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.785e-06/0.9458, allocations: 0 / 1.145 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.9458, allocations: 0 / 1.145 GB, free: 13.58 MB / 0.9044 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.000458/0.9463, allocations: 488.5 kB / 1.146 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.9463, allocations: 8.031 kB / 1.146 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.84e-05/0.9464, allocations: 58.55 kB / 1.146 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.337e-05/0.9465, allocations: 31.72 kB / 1.146 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002881/0.9468, allocations: 271.8 kB / 1.146 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.942e-05/0.9468, allocations: 20.56 kB / 1.146 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.861e-05/0.9468, allocations: 24 kB / 1.146 GB, free: 12.6 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004372/0.9473, allocations: 323.9 kB / 1.147 GB, free: 12.24 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.9473, allocations: 0 / 1.147 GB, free: 12.24 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.249e-05/0.9473, allocations: 15.95 kB / 1.147 GB, free: 12.22 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/0.9473, allocations: 11.98 kB / 1.147 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002086/0.9476, allocations: 139.8 kB / 1.147 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001247/0.9488, allocations: 1.812 MB / 1.149 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 8.281e-05/0.9489, allocations: 177.1 kB / 1.149 GB, free: 9.98 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.385e-05/0.9489, allocations: 80.14 kB / 1.149 GB, free: 9.898 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.051e-05/0.949, allocations: 75.28 kB / 1.149 GB, free: 9.824 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.137e-05/0.949, allocations: 109.8 kB / 1.149 GB, free: 9.707 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=0): time 9.21e-07/0.949, allocations: 0 / 1.149 GB, free: 9.707 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0): time 0.0001026/0.9491, allocations: 53.38 kB / 1.149 GB, free: 9.648 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.825e-05/0.9492, allocations: 138.6 kB / 1.149 GB, free: 9.5 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000383/0.9496, allocations: 365.8 kB / 1.149 GB, free: 9.137 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.184e-05/0.9496, allocations: 29.64 kB / 1.15 GB, free: 9.102 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.000125/0.9497, allocations: 163.8 kB / 1.15 GB, free: 8.938 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 6.963e-06/0.9498, allocations: 15.98 kB / 1.15 GB, free: 8.922 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.625e-06/0.9498, allocations: 0 / 1.15 GB, free: 8.922 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.9499, allocations: 334.8 kB / 1.15 GB, free: 8.586 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.208e-05/0.9499, allocations: 4 kB / 1.15 GB, free: 8.582 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.723e-05/0.9499, allocations: 32.3 kB / 1.15 GB, free: 8.535 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.043e-05/0.95, allocations: 12 kB / 1.15 GB, free: 8.523 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.95, allocations: 3.984 kB / 1.15 GB, free: 8.52 MB / 0.9044 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001463/0.9501, allocations: 85.3 kB / 1.15 GB, free: 8.43 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.9502, allocations: 7.984 kB / 1.15 GB, free: 8.422 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.9502, allocations: 0 / 1.15 GB, free: 8.422 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.9502, allocations: 4 kB / 1.15 GB, free: 8.418 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.14e-05/0.9503, allocations: 11.95 kB / 1.15 GB, free: 8.406 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.9503, allocations: 8.094 kB / 1.15 GB, free: 8.398 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.665e-05/0.9503, allocations: 27.59 kB / 1.15 GB, free: 8.371 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-06/0.9504, allocations: 0 / 1.15 GB, free: 8.371 MB / 0.9044 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.0001254/0.9505, allocations: 213.1 kB / 1.15 GB, free: 8.152 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.868e-05/0.9506, allocations: 124.7 kB / 1.151 GB, free: 8.023 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.604e-05/0.9506, allocations: 134.9 kB / 1.151 GB, free: 7.883 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.847e-05/0.9507, allocations: 184.2 kB / 1.151 GB, free: 7.695 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.435e-05/0.9508, allocations: 180.2 kB / 1.151 GB, free: 7.512 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.734e-05/0.9508, allocations: 180.2 kB / 1.151 GB, free: 7.328 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002925/0.9511, allocations: 493.1 kB / 1.152 GB, free: 6.789 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.655e-05/0.9512, allocations: 112.9 kB / 1.152 GB, free: 6.672 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.654e-05/0.9512, allocations: 108.9 kB / 1.152 GB, free: 6.559 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-05/0.9513, allocations: 184.3 kB / 1.152 GB, free: 6.371 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.63e-05/0.9513, allocations: 180.4 kB / 1.152 GB, free: 6.188 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.632e-05/0.9514, allocations: 176.3 kB / 1.152 GB, free: 6.008 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.783e-05/0.9515, allocations: 184.4 kB / 1.153 GB, free: 5.82 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001471/0.9516, allocations: 347.3 kB / 1.153 GB, free: 5.457 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 9.704e-05/0.9517, allocations: 205.8 kB / 1.153 GB, free: 5.23 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.21e-05/0.9518, allocations: 180.3 kB / 1.153 GB, free: 5.047 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.9519, allocations: 104.9 kB / 1.153 GB, free: 4.938 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.385e-05/0.952, allocations: 180.3 kB / 1.154 GB, free: 4.754 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.035e-05/0.952, allocations: 104.9 kB / 1.154 GB, free: 4.645 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002459/0.9523, allocations: 279.1 kB / 1.154 GB, free: 4.375 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9523, allocations: 0 / 1.154 GB, free: 4.375 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002518/0.9525, allocations: 35.89 kB / 1.154 GB, free: 4.34 MB / 0.9044 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.0003612/0.9529, allocations: 0.8241 MB / 1.155 GB, free: 3.488 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 7.162e-05/0.953, allocations: 23.92 kB / 1.155 GB, free: 3.465 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.953, allocations: 0 / 1.155 GB, free: 3.465 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.222e-06/0.953, allocations: 4 kB / 1.155 GB, free: 3.461 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008099/0.9538, allocations: 0.6154 MB / 1.155 GB, free: 2.844 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001697/0.9555, allocations: 1.414 MB / 1.157 GB, free: 1.379 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002898/0.9558, allocations: 0.7521 MB / 1.157 GB, free: 0.5977 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001064/0.9559, allocations: 38.95 kB / 1.157 GB, free: 0.5586 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.949e-05/0.956, allocations: 75.41 kB / 1.158 GB, free: 496 kB / 0.9044 GB Notification: Performance of SimCode: time 2.71e-07/0.956, allocations: 0 / 1.158 GB, free: 496 kB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01618/0.9722, allocations: 5.498 MB / 1.163 GB, free: 11.21 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001723/0.9724, allocations: 202 kB / 1.163 GB, free: 10.98 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.849/2.821, allocations: 0 / 1.163 GB, free: 10.98 MB / 0.92 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