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.001498/0.001498, allocations: 99.86 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.002193/0.002194, 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.112/2.112, allocations: 223.2 MB / 239.9 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.752/4.752, allocations: 409.2 MB / 0.6838 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000661/0.0006613, allocations: 12 kB / 0.8375 GB, free: 6.535 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.502/1.503, allocations: 146.8 MB / 0.9809 GB, free: 6.422 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.2912/1.794, allocations: 143 MB / 1.121 GB, free: 7.059 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01001/1.804, allocations: 5.023 MB / 1.125 GB, free: 2.023 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000616/1.805, allocations: 7.938 kB / 1.125 GB, free: 2.016 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0007364/1.805, allocations: 91.56 kB / 1.126 GB, free: 1.926 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.000852/1.806, allocations: 131.6 kB / 1.126 GB, free: 1.797 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001031/1.807, allocations: 203.4 kB / 1.126 GB, free: 1.598 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0009343/1.808, allocations: 315.3 kB / 1.126 GB, free: 1.289 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004085/1.809, allocations: 93.56 kB / 1.126 GB, free: 1.203 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005259/1.809, allocations: 155.4 kB / 1.126 GB, free: 1.051 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003129/1.81, allocations: 103.5 kB / 1.126 GB, free: 0.9492 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 2.946e-05/1.81, allocations: 4 kB / 1.126 GB, free: 0.9453 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004621/1.81, allocations: 91.8 kB / 1.127 GB, free: 0.8555 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001092/1.81, allocations: 51.83 kB / 1.127 GB, free: 0.8047 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 9.932e-05/1.81, allocations: 65.58 kB / 1.127 GB, free: 0.7344 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0004275/1.811, allocations: 215.4 kB / 1.127 GB, free: 0.5234 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/1.811, allocations: 0 / 1.127 GB, free: 0.5234 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.575e-06/1.811, allocations: 0 / 1.127 GB, free: 0.5234 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 9.638e-06/1.811, allocations: 0 / 1.127 GB, free: 0.5234 MB / 0.8731 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.0009/1.812, allocations: 467.1 kB / 1.127 GB, free: 20 kB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 7.512e-05/1.812, allocations: 12.03 kB / 1.127 GB, free: 8 kB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001448/1.812, allocations: 62.53 kB / 1.127 GB, free: 15.94 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004206/1.812, allocations: 47.66 kB / 1.127 GB, free: 15.89 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000485/1.813, allocations: 254.6 kB / 1.128 GB, free: 15.6 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002282/1.813, allocations: 131.4 kB / 1.128 GB, free: 15.45 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.444e-05/1.813, allocations: 24 kB / 1.128 GB, free: 15.43 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007043/1.814, allocations: 286.8 kB / 1.128 GB, free: 15.11 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/1.814, allocations: 0 / 1.128 GB, free: 15.11 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.123e-05/1.814, allocations: 12 kB / 1.128 GB, free: 15.09 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.67e-05/1.814, allocations: 7.953 kB / 1.128 GB, free: 15.09 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004852/1.815, allocations: 164.5 kB / 1.128 GB, free: 14.93 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002168/1.817, allocations: 1.583 MB / 1.13 GB, free: 13.25 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001485/1.817, allocations: 165.1 kB / 1.13 GB, free: 13.08 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 4.194e-05/1.817, allocations: 75.28 kB / 1.13 GB, free: 13.01 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.785e-05/1.817, allocations: 113.8 kB / 1.13 GB, free: 12.89 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=0): time 2.424e-06/1.817, allocations: 0 / 1.13 GB, free: 12.89 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0): time 0.0001635/1.817, allocations: 45.45 kB / 1.13 GB, free: 12.84 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.755e-05/1.817, allocations: 126.7 kB / 1.13 GB, free: 12.7 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005837/1.818, allocations: 310.6 kB / 1.131 GB, free: 12.39 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.958e-05/1.818, allocations: 25.7 kB / 1.131 GB, free: 12.36 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002532/1.818, allocations: 199.1 kB / 1.131 GB, free: 12.16 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 6.612e-06/1.818, allocations: 0 / 1.131 GB, free: 12.16 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.084e-05/1.818, allocations: 4 kB / 1.131 GB, free: 12.15 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0003072/1.819, allocations: 338.8 kB / 1.131 GB, free: 11.81 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001679/1.819, allocations: 39.92 kB / 1.131 GB, free: 11.77 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003463/1.819, allocations: 166.8 kB / 1.131 GB, free: 11.55 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002307/1.819, allocations: 63.91 kB / 1.131 GB, free: 11.49 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/1.819, allocations: 0 / 1.131 GB, free: 11.49 MB / 0.8887 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000704/1.82, allocations: 209.1 kB / 1.132 GB, free: 11.28 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.53e-05/1.82, allocations: 4 kB / 1.132 GB, free: 11.27 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.285e-05/1.82, allocations: 4.625 kB / 1.132 GB, free: 11.27 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.132e-05/1.82, allocations: 15.98 kB / 1.132 GB, free: 11.25 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002741/1.821, allocations: 35.92 kB / 1.132 GB, free: 11.22 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.196e-05/1.821, allocations: 11.94 kB / 1.132 GB, free: 11.21 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002811/1.821, allocations: 35.55 kB / 1.132 GB, free: 11.17 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.107e-05/1.821, allocations: 12 kB / 1.132 GB, free: 11.16 MB / 0.8887 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.0002648/1.821, allocations: 221 kB / 1.132 GB, free: 10.93 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001181/1.821, allocations: 124.8 kB / 1.132 GB, free: 10.8 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001192/1.821, allocations: 129.8 kB / 1.132 GB, free: 10.67 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.878e-05/1.822, allocations: 176.3 kB / 1.132 GB, free: 10.49 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.323e-05/1.822, allocations: 180.2 kB / 1.133 GB, free: 10.3 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.381e-05/1.822, allocations: 180.4 kB / 1.133 GB, free: 10.12 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004906/1.822, allocations: 485.1 kB / 1.133 GB, free: 9.59 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.384e-05/1.822, allocations: 112.9 kB / 1.133 GB, free: 9.473 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.188e-05/1.822, allocations: 105 kB / 1.133 GB, free: 9.363 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.944e-05/1.822, allocations: 180.2 kB / 1.134 GB, free: 9.18 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-05/1.823, allocations: 176.3 kB / 1.134 GB, free: 9 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.066e-05/1.823, allocations: 184.2 kB / 1.134 GB, free: 8.812 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.462e-05/1.823, allocations: 184.2 kB / 1.134 GB, free: 8.625 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002223/1.823, allocations: 331.5 kB / 1.134 GB, free: 8.277 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002256/1.823, allocations: 205.8 kB / 1.135 GB, free: 8.051 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000127/1.823, allocations: 176.3 kB / 1.135 GB, free: 7.871 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001765/1.824, allocations: 108.9 kB / 1.135 GB, free: 7.758 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.927e-05/1.824, allocations: 180.3 kB / 1.135 GB, free: 7.574 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.593e-05/1.824, allocations: 112.9 kB / 1.135 GB, free: 7.457 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0003641/1.824, allocations: 213.9 kB / 1.135 GB, free: 7.25 MB / 0.8887 GB Notification: Performance of sort global known variables: time 3.01e-07/1.824, allocations: 0 / 1.135 GB, free: 7.25 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0006191/1.825, allocations: 44 kB / 1.135 GB, free: 7.207 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.0007842/1.826, allocations: 0.8513 MB / 1.136 GB, free: 6.328 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0003473/1.826, allocations: 75.78 kB / 1.136 GB, free: 6.254 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/1.826, allocations: 1.25 kB / 1.136 GB, free: 6.254 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 5.17e-06/1.826, allocations: 0 / 1.136 GB, free: 6.254 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000889/1.827, allocations: 0.5502 MB / 1.137 GB, free: 5.695 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005298/1.832, allocations: 4.108 MB / 1.141 GB, free: 1.461 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000748/1.833, allocations: 0.7359 MB / 1.142 GB, free: 0.6992 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.000282/1.833, allocations: 41.86 kB / 1.142 GB, free: 0.6562 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000165/1.833, allocations: 59.42 kB / 1.142 GB, free: 0.5977 MB / 0.8887 GB Notification: Performance of SimCode: time 7.92e-07/1.833, allocations: 7.938 kB / 1.142 GB, free: 0.5898 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02465/1.858, allocations: 3.581 MB / 1.145 GB, free: 13.15 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003456/1.859, allocations: 182.6 kB / 1.145 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.067/4.925, allocations: 0 / 1.145 GB, free: 12.91 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