Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.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.AirToOutlet,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet",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.0008152/0.0008154, allocations: 91.61 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.0008617/0.0008618, 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.397/1.397, allocations: 223.3 MB / 240 MB, free: 5.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.625/2.625, allocations: 409.4 MB / 0.684 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003442/0.0003444, allocations: 8 kB / 0.8378 GB, free: 6.477 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7609/0.7613, allocations: 146.8 MB / 0.9811 GB, free: 6.191 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.1947/0.956, allocations: 154.8 MB / 1.132 GB, free: 10.93 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.006194/0.9623, allocations: 5.536 MB / 1.138 GB, free: 5.375 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003181/0.9626, allocations: 8 kB / 1.138 GB, free: 5.367 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0006379/0.9633, allocations: 135 kB / 1.138 GB, free: 5.234 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0003097/0.9636, allocations: 83.44 kB / 1.138 GB, free: 5.152 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009865/0.9646, allocations: 350.6 kB / 1.138 GB, free: 4.809 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0004651/0.9651, allocations: 402.8 kB / 1.139 GB, free: 4.414 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002394/0.9653, allocations: 101.6 kB / 1.139 GB, free: 4.32 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002658/0.9656, allocations: 155.3 kB / 1.139 GB, free: 4.168 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002059/0.9658, allocations: 131.4 kB / 1.139 GB, free: 4.039 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.973e-05/0.9659, allocations: 8 kB / 1.139 GB, free: 4.031 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005496/0.9664, allocations: 215.4 kB / 1.139 GB, free: 3.82 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 7.646e-05/0.9665, allocations: 55.81 kB / 1.139 GB, free: 3.766 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 7.254e-05/0.9666, allocations: 61.58 kB / 1.139 GB, free: 3.699 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003655/0.967, allocations: 279.4 kB / 1.14 GB, free: 3.426 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.967, allocations: 0 / 1.14 GB, free: 3.426 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.003e-06/0.967, allocations: 0 / 1.14 GB, free: 3.426 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.062e-06/0.967, allocations: 0 / 1.14 GB, free: 3.426 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0005749/0.9676, allocations: 483 kB / 1.14 GB, free: 2.906 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.9676, allocations: 12.03 kB / 1.14 GB, free: 2.895 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.129e-05/0.9677, allocations: 58.55 kB / 1.14 GB, free: 2.828 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002808/0.968, allocations: 47.66 kB / 1.14 GB, free: 2.781 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002989/0.9683, allocations: 250.6 kB / 1.14 GB, free: 2.496 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001522/0.9685, allocations: 135.4 kB / 1.141 GB, free: 2.34 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.135e-05/0.9685, allocations: 23.94 kB / 1.141 GB, free: 2.316 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004501/0.9689, allocations: 290.8 kB / 1.141 GB, free: 1.992 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.969, allocations: 4 kB / 1.141 GB, free: 1.988 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.156e-05/0.969, allocations: 4 kB / 1.141 GB, free: 1.984 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.165e-05/0.969, allocations: 11.95 kB / 1.141 GB, free: 1.973 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003089/0.9693, allocations: 160.6 kB / 1.141 GB, free: 1.816 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001354/0.9707, allocations: 1.587 MB / 1.143 GB, free: 144 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001123/0.9708, allocations: 169.1 kB / 1.143 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.692e-05/0.9709, allocations: 80.14 kB / 1.143 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.304e-05/0.9709, allocations: 79.28 kB / 1.143 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.983e-05/0.971, allocations: 105.8 kB / 1.143 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/0.971, allocations: 3.938 kB / 1.143 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0): time 9.072e-05/0.9711, allocations: 49.5 kB / 1.143 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.647e-05/0.9711, allocations: 126.7 kB / 1.143 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004263/0.9716, allocations: 302.6 kB / 1.143 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.9716, allocations: 29.7 kB / 1.144 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001266/0.9717, allocations: 195.1 kB / 1.144 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 7.114e-06/0.9718, allocations: 7.984 kB / 1.144 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.049e-05/0.9718, allocations: 4 kB / 1.144 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.9719, allocations: 326.9 kB / 1.144 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.58e-05/0.972, allocations: 43.92 kB / 1.144 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001626/0.9722, allocations: 162.5 kB / 1.144 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001232/0.9723, allocations: 67.86 kB / 1.144 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.9723, allocations: 0 / 1.144 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003966/0.9727, allocations: 209.7 kB / 1.144 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.9727, allocations: 17.66 kB / 1.144 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.9728, allocations: 7.984 kB / 1.144 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/0.9728, allocations: 8 kB / 1.145 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001484/0.9729, allocations: 35.92 kB / 1.145 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.491e-05/0.973, allocations: 8 kB / 1.145 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001544/0.9731, allocations: 39.48 kB / 1.145 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.766e-05/0.9731, allocations: 12 kB / 1.145 GB, free: 13.96 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001438/0.9733, allocations: 217 kB / 1.145 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.288e-05/0.9734, allocations: 124.8 kB / 1.145 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.341e-05/0.9735, allocations: 121.8 kB / 1.145 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.759e-05/0.9735, allocations: 184.2 kB / 1.145 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.275e-05/0.9736, allocations: 184.2 kB / 1.145 GB, free: 13.1 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.248e-05/0.9737, allocations: 176.3 kB / 1.146 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003253/0.974, allocations: 485.1 kB / 1.146 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.012e-05/0.9741, allocations: 104.9 kB / 1.146 GB, free: 12.28 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.315e-05/0.9741, allocations: 109 kB / 1.146 GB, free: 12.17 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.194e-05/0.9742, allocations: 184.2 kB / 1.146 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.727e-05/0.9742, allocations: 180.2 kB / 1.147 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.245e-05/0.9743, allocations: 180.2 kB / 1.147 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.809e-05/0.9744, allocations: 184.3 kB / 1.147 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001602/0.9746, allocations: 331.5 kB / 1.147 GB, free: 11.08 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001185/0.9747, allocations: 201.8 kB / 1.147 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.599e-05/0.9748, allocations: 184.2 kB / 1.148 GB, free: 10.67 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/0.9749, allocations: 105.3 kB / 1.148 GB, free: 10.56 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.781e-05/0.975, allocations: 176.3 kB / 1.148 GB, free: 10.38 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.264e-05/0.9751, allocations: 113 kB / 1.148 GB, free: 10.26 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002384/0.9753, allocations: 217.9 kB / 1.148 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9753, allocations: 0 / 1.148 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004178/0.9757, allocations: 51.98 kB / 1.148 GB, free: 10 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.0005983/0.9763, allocations: 0.8527 MB / 1.149 GB, free: 9.121 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002177/0.9766, allocations: 83.77 kB / 1.149 GB, free: 9.039 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.9766, allocations: 0 / 1.149 GB, free: 9.039 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 4.999e-06/0.9766, allocations: 7.938 kB / 1.149 GB, free: 9.031 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006539/0.9772, allocations: 0.5437 MB / 1.15 GB, free: 8.48 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002051/0.9793, allocations: 1.26 MB / 1.151 GB, free: 7.121 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003319/0.9797, allocations: 0.732 MB / 1.152 GB, free: 6.363 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001539/0.9798, allocations: 37.88 kB / 1.152 GB, free: 6.328 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.32e-05/0.9799, allocations: 59.41 kB / 1.152 GB, free: 6.27 MB / 0.9044 GB Notification: Performance of SimCode: time 2.51e-07/0.9799, allocations: 4 kB / 1.152 GB, free: 6.266 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01611/0.996, allocations: 3.831 MB / 1.155 GB, free: 2.582 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001895/0.9963, allocations: 192.3 kB / 1.156 GB, free: 2.344 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.927/2.923, allocations: 0 / 1.156 GB, free: 2.344 MB / 0.9044 GB (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.fmu > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.mat does not exist to compare? outputFormat=mat