Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_9_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="Buildings_9_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.001033/0.001033, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.0009614/0.0009614, allocations: 193 kB / 16.13 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.224/1.224, allocations: 222.9 MB / 239.8 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.093/2.093, allocations: 390.2 MB / 0.6643 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 63.91 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4868/0.488, allocations: 140.4 MB / 0.9491 GB, free: 9.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.1521/0.6401, allocations: 171.9 MB / 1.117 GB, free: 5.656 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.007649/0.6477, allocations: 9.512 MB / 1.126 GB, free: 12.11 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001462/0.6479, allocations: 8 kB / 1.126 GB, free: 12.11 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.000404/0.6484, allocations: 155 kB / 1.126 GB, free: 11.95 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001615/0.6485, allocations: 79.5 kB / 1.126 GB, free: 11.88 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001365/0.6487, allocations: 59.89 kB / 1.126 GB, free: 11.82 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0003171/0.649, allocations: 382.6 kB / 1.127 GB, free: 11.44 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000268/0.6493, allocations: 205.7 kB / 1.127 GB, free: 11.24 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002372/0.6495, allocations: 147.4 kB / 1.127 GB, free: 11.1 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001178/0.6496, allocations: 131.3 kB / 1.127 GB, free: 10.97 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.648e-05/0.6497, allocations: 16 kB / 1.127 GB, free: 10.95 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 3.313e-05/0.6497, allocations: 16 kB / 1.127 GB, free: 10.94 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 7.076e-05/0.6498, allocations: 75.8 kB / 1.127 GB, free: 10.86 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001048/0.6499, allocations: 119.4 kB / 1.128 GB, free: 10.75 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002012/0.6501, allocations: 275 kB / 1.128 GB, free: 10.48 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.6501, allocations: 0 / 1.128 GB, free: 10.48 MB / 0.8887 GB Notification: Performance of FrontEnd: time 7.41e-07/0.6501, allocations: 4 kB / 1.128 GB, free: 10.47 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.6501, allocations: 0 / 1.128 GB, free: 10.47 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.0004117/0.6506, allocations: 0.5107 MB / 1.128 GB, free: 9.914 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.6506, allocations: 12.03 kB / 1.128 GB, free: 9.902 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.675e-05/0.6507, allocations: 58.55 kB / 1.128 GB, free: 9.836 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.219e-05/0.6507, allocations: 31.66 kB / 1.128 GB, free: 9.805 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000233/0.6509, allocations: 270.4 kB / 1.129 GB, free: 9.5 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.651, allocations: 16.56 kB / 1.129 GB, free: 9.48 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.619e-05/0.651, allocations: 28 kB / 1.129 GB, free: 9.453 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000386/0.6514, allocations: 323.9 kB / 1.129 GB, free: 9.09 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.6514, allocations: 8 kB / 1.129 GB, free: 9.082 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.974e-05/0.6514, allocations: 12 kB / 1.129 GB, free: 9.07 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.6514, allocations: 7.938 kB / 1.129 GB, free: 9.062 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001943/0.6516, allocations: 139.8 kB / 1.129 GB, free: 8.926 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001047/0.6527, allocations: 1.816 MB / 1.131 GB, free: 7.012 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 6.121e-05/0.6528, allocations: 169.1 kB / 1.131 GB, free: 6.836 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.979e-05/0.6528, allocations: 92.08 kB / 1.131 GB, free: 6.742 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.009e-05/0.6528, allocations: 75.39 kB / 1.131 GB, free: 6.668 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.6529, allocations: 109.8 kB / 1.131 GB, free: 6.551 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.6529, allocations: 0 / 1.131 GB, free: 6.551 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0): time 7.134e-05/0.6529, allocations: 57.33 kB / 1.131 GB, free: 6.488 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/0.653, allocations: 134.6 kB / 1.132 GB, free: 6.344 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000332/0.6533, allocations: 369.7 kB / 1.132 GB, free: 5.977 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 9.588e-06/0.6533, allocations: 29.7 kB / 1.132 GB, free: 5.941 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.6534, allocations: 171.8 kB / 1.132 GB, free: 5.77 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.246e-06/0.6535, allocations: 4 kB / 1.132 GB, free: 5.766 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.469e-05/0.6535, allocations: 13.72 kB / 1.132 GB, free: 5.746 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 9.789e-05/0.6536, allocations: 338.8 kB / 1.132 GB, free: 5.406 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.094e-05/0.6536, allocations: 0 / 1.132 GB, free: 5.406 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.143e-05/0.6536, allocations: 44.28 kB / 1.132 GB, free: 5.348 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.165e-05/0.6537, allocations: 40.23 kB / 1.132 GB, free: 5.293 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.6537, allocations: 0 / 1.132 GB, free: 5.293 MB / 0.8887 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001237/0.6538, allocations: 101.2 kB / 1.133 GB, free: 5.188 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 9.869e-06/0.6538, allocations: 4 kB / 1.133 GB, free: 5.184 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.6538, allocations: 0 / 1.133 GB, free: 5.184 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.6539, allocations: 4 kB / 1.133 GB, free: 5.18 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.328e-05/0.6539, allocations: 16.11 kB / 1.133 GB, free: 5.164 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.027e-06/0.6539, allocations: 0 / 1.133 GB, free: 5.164 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.586e-05/0.654, allocations: 27.59 kB / 1.133 GB, free: 5.137 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-06/0.654, allocations: 4 kB / 1.133 GB, free: 5.133 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001132/0.6541, allocations: 217.2 kB / 1.133 GB, free: 4.91 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.49e-05/0.6542, allocations: 132.6 kB / 1.133 GB, free: 4.773 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.533e-05/0.6543, allocations: 127 kB / 1.133 GB, free: 4.641 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.271e-05/0.6543, allocations: 180.2 kB / 1.133 GB, free: 4.457 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.728e-05/0.6544, allocations: 176.3 kB / 1.133 GB, free: 4.277 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.134e-05/0.6544, allocations: 196.2 kB / 1.134 GB, free: 4.078 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000255/0.6547, allocations: 493 kB / 1.134 GB, free: 3.539 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-05/0.6547, allocations: 101 kB / 1.134 GB, free: 3.434 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.865e-05/0.6547, allocations: 108.9 kB / 1.134 GB, free: 3.32 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.727e-05/0.6548, allocations: 180.3 kB / 1.134 GB, free: 3.137 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.091e-05/0.6548, allocations: 180.2 kB / 1.135 GB, free: 2.953 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.158e-05/0.6549, allocations: 184.2 kB / 1.135 GB, free: 2.766 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-05/0.655, allocations: 184.2 kB / 1.135 GB, free: 2.578 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001216/0.6551, allocations: 327.4 kB / 1.135 GB, free: 2.234 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 9.383e-05/0.6552, allocations: 217.7 kB / 1.136 GB, free: 1.996 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.02e-05/0.6553, allocations: 180.2 kB / 1.136 GB, free: 1.812 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.607e-05/0.6554, allocations: 105 kB / 1.136 GB, free: 1.703 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.381e-05/0.6554, allocations: 184.2 kB / 1.136 GB, free: 1.516 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.558e-05/0.6554, allocations: 105 kB / 1.136 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002244/0.6557, allocations: 267.2 kB / 1.136 GB, free: 1.148 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6557, allocations: 0 / 1.136 GB, free: 1.148 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0002321/0.6559, allocations: 27.94 kB / 1.136 GB, free: 1.121 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003252/0.6562, allocations: 0.8434 MB / 1.137 GB, free: 252 kB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 5.475e-05/0.6563, allocations: 15.94 kB / 1.137 GB, free: 236 kB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.6563, allocations: 4 kB / 1.137 GB, free: 232 kB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 1.223e-06/0.6563, allocations: 320 / 1.137 GB, free: 232 kB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007521/0.6571, allocations: 0.6112 MB / 1.138 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00231/0.6594, allocations: 2.754 MB / 1.14 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002564/0.6597, allocations: 0.756 MB / 1.141 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 9.129e-05/0.6598, allocations: 34.89 kB / 1.141 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.093e-05/0.6599, allocations: 71.42 kB / 1.141 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of SimCode: time 2.4e-07/0.6599, allocations: 4 kB / 1.141 GB, free: 11.87 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.116/1.776, allocations: 5.588 MB / 1.147 GB, free: 6.453 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002339/1.776, allocations: 221.3 kB / 1.147 GB, free: 6.191 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.206/3.982, allocations: 3.938 kB / 1.147 GB, free: 6.188 MB / 0.9044 GB (rm -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.fmu > Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches