Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.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.InletToAirDryAirCO2,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",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.0008718/0.000872, allocations: 87.03 kB / 15.06 MB, free: 1.09 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.0009759/0.0009759, allocations: 168.7 kB / 15.95 MB, free: 204 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.386/1.386, allocations: 223.3 MB / 240 MB, free: 5.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.514/2.514, allocations: 409.4 MB / 0.684 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000359/0.0003591, allocations: 11.98 kB / 0.8378 GB, free: 6.449 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8187/0.8191, allocations: 146.8 MB / 0.9811 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.1465/0.9656, allocations: 134.2 MB / 1.112 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.00486/0.9705, allocations: 4.322 MB / 1.116 GB, free: 11.31 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003122/0.9708, allocations: 7.938 kB / 1.116 GB, free: 11.3 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0004404/0.9713, allocations: 111.2 kB / 1.117 GB, free: 11.2 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.0003124/0.9716, allocations: 79.55 kB / 1.117 GB, free: 11.12 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001442/0.9718, allocations: 55.89 kB / 1.117 GB, free: 11.06 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0003535/0.9721, allocations: 303 kB / 1.117 GB, free: 10.77 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002662/0.9724, allocations: 114.4 kB / 1.117 GB, free: 10.65 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001645/0.9726, allocations: 83.59 kB / 1.117 GB, free: 10.57 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001908/0.9728, allocations: 131.5 kB / 1.117 GB, free: 10.44 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.9728, allocations: 4 kB / 1.117 GB, free: 10.44 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 2.336e-05/0.9729, allocations: 8 kB / 1.117 GB, free: 10.43 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 6.341e-05/0.9729, allocations: 43.83 kB / 1.117 GB, free: 10.39 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 5.417e-05/0.973, allocations: 65.58 kB / 1.117 GB, free: 10.32 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0001893/0.9732, allocations: 169.8 kB / 1.118 GB, free: 10.15 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.9732, allocations: 4 kB / 1.118 GB, free: 10.15 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.725e-06/0.9732, allocations: 0 / 1.118 GB, free: 10.15 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.9732, allocations: 0 / 1.118 GB, free: 10.15 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0005065/0.9737, allocations: 455 kB / 1.118 GB, free: 9.656 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.9738, allocations: 8.031 kB / 1.118 GB, free: 9.648 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.01e-05/0.9738, allocations: 62.48 kB / 1.118 GB, free: 9.578 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.272e-05/0.9739, allocations: 23.72 kB / 1.118 GB, free: 9.555 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002784/0.9742, allocations: 263.8 kB / 1.118 GB, free: 9.258 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/0.9742, allocations: 16.44 kB / 1.118 GB, free: 9.242 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.371e-05/0.9742, allocations: 24 kB / 1.118 GB, free: 9.219 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003857/0.9746, allocations: 304.9 kB / 1.119 GB, free: 8.863 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.9747, allocations: 0 / 1.119 GB, free: 8.863 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.158e-05/0.9747, allocations: 8 kB / 1.119 GB, free: 8.855 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.9747, allocations: 8 kB / 1.119 GB, free: 8.848 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001749/0.9749, allocations: 123.7 kB / 1.119 GB, free: 8.727 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001574/0.9765, allocations: 1.973 MB / 1.121 GB, free: 6.645 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 8.396e-05/0.9765, allocations: 169.1 kB / 1.121 GB, free: 6.469 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.079e-05/0.9766, allocations: 84.12 kB / 1.121 GB, free: 6.383 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.577e-05/0.9766, allocations: 75.28 kB / 1.121 GB, free: 6.309 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.838e-05/0.9767, allocations: 109.8 kB / 1.121 GB, free: 6.191 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.9767, allocations: 0 / 1.121 GB, free: 6.191 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 8.815e-05/0.9768, allocations: 57.31 kB / 1.121 GB, free: 6.129 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001229/0.9769, allocations: 130.7 kB / 1.121 GB, free: 5.988 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004257/0.9774, allocations: 324.5 kB / 1.122 GB, free: 5.664 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.168e-05/0.9774, allocations: 29.7 kB / 1.122 GB, free: 5.629 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001263/0.9775, allocations: 159.7 kB / 1.122 GB, free: 5.469 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 2.155e-06/0.9775, allocations: 4 kB / 1.122 GB, free: 5.465 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.39e-06/0.9775, allocations: 4 kB / 1.122 GB, free: 5.461 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002369/0.9778, allocations: 334.8 kB / 1.122 GB, free: 5.125 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.595e-05/0.9778, allocations: 4 kB / 1.122 GB, free: 5.121 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.094e-05/0.9779, allocations: 58.84 kB / 1.122 GB, free: 5.039 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.429e-05/0.9779, allocations: 23.94 kB / 1.122 GB, free: 5.016 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.9779, allocations: 0 / 1.122 GB, free: 5.016 MB / 0.8731 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000176/0.9781, allocations: 101.5 kB / 1.122 GB, free: 4.91 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.9781, allocations: 7.984 kB / 1.122 GB, free: 4.902 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.9781, allocations: 4 kB / 1.122 GB, free: 4.898 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.9781, allocations: 3.953 kB / 1.122 GB, free: 4.895 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.033e-05/0.9782, allocations: 15.94 kB / 1.122 GB, free: 4.879 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.9783, allocations: 4 kB / 1.122 GB, free: 4.875 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.994e-05/0.9783, allocations: 23.69 kB / 1.122 GB, free: 4.852 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.9784, allocations: 7.938 kB / 1.122 GB, free: 4.844 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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.0001439/0.9785, allocations: 209.2 kB / 1.123 GB, free: 4.629 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.57e-05/0.9786, allocations: 136.6 kB / 1.123 GB, free: 4.488 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.254e-05/0.9787, allocations: 126 kB / 1.123 GB, free: 4.359 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.506e-05/0.9788, allocations: 184.2 kB / 1.123 GB, free: 4.172 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.999e-05/0.9788, allocations: 184.2 kB / 1.123 GB, free: 3.984 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.62e-05/0.9789, allocations: 176.3 kB / 1.123 GB, free: 3.805 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003091/0.9792, allocations: 481.2 kB / 1.124 GB, free: 3.277 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.632e-05/0.9793, allocations: 105 kB / 1.124 GB, free: 3.168 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.148e-05/0.9793, allocations: 113 kB / 1.124 GB, free: 3.051 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001189/0.9794, allocations: 180.3 kB / 1.124 GB, free: 2.867 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.584e-05/0.9795, allocations: 176.3 kB / 1.124 GB, free: 2.688 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.969e-05/0.9796, allocations: 192.2 kB / 1.125 GB, free: 2.492 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001597/0.9798, allocations: 180.3 kB / 1.125 GB, free: 2.309 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002249/0.98, allocations: 327.4 kB / 1.125 GB, free: 1.965 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001143/0.9801, allocations: 205.8 kB / 1.125 GB, free: 1.738 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.737e-05/0.9802, allocations: 184.2 kB / 1.125 GB, free: 1.551 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.9803, allocations: 109 kB / 1.125 GB, free: 1.438 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.549e-05/0.9804, allocations: 180.2 kB / 1.126 GB, free: 1.254 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.455e-05/0.9804, allocations: 101 kB / 1.126 GB, free: 1.148 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002379/0.9807, allocations: 243 kB / 1.126 GB, free: 0.9141 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9807, allocations: 0 / 1.126 GB, free: 0.9141 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003224/0.981, allocations: 27.94 kB / 1.126 GB, free: 0.8867 MB / 0.8731 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.0005099/0.9815, allocations: 0.8319 MB / 1.127 GB, free: 24 kB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 7.842e-05/0.9816, allocations: 23.94 kB / 1.127 GB, free: 0 / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.9816, allocations: 0 / 1.127 GB, free: 0 / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.493e-06/0.9816, allocations: 0 / 1.127 GB, free: 0 / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007366/0.9824, allocations: 0.5899 MB / 1.127 GB, free: 15.41 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001608/0.984, allocations: 1.288 MB / 1.129 GB, free: 14.05 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003093/0.9843, allocations: 0.7404 MB / 1.129 GB, free: 13.28 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 9.196e-05/0.9844, allocations: 30.28 kB / 1.129 GB, free: 13.25 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.338e-05/0.9845, allocations: 63.42 kB / 1.13 GB, free: 13.19 MB / 0.8887 GB Notification: Performance of SimCode: time 2.51e-07/0.9845, allocations: 0 / 1.13 GB, free: 13.19 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01601/1.001, allocations: 4.447 MB / 1.134 GB, free: 8.938 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002415/1.001, allocations: 207.8 kB / 1.134 GB, free: 8.695 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.795/2.796, allocations: 4.062 kB / 1.134 GB, free: 8.691 MB / 0.8887 GB (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.fmu > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.mat does not exist to compare? outputFormat=mat