Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.InletToAirDryAirCO2,fileNamePrefix="Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="Buildings_9_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.0016/0.0016, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001731/0.001731, allocations: 194.9 kB / 16.25 MB, free: 6.637 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.308/1.308, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.223/2.223, allocations: 390.2 MB / 0.6644 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 67.91 kB / 0.8122 GB, free: 14.7 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.513/0.5143, allocations: 140.4 MB / 0.9492 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.1341/0.6485, allocations: 146 MB / 1.092 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00431/0.6528, allocations: 4.611 MB / 1.096 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002343/0.6531, allocations: 4 kB / 1.096 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004226/0.6535, allocations: 143.1 kB / 1.096 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003002/0.6538, allocations: 71.58 kB / 1.096 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001417/0.654, allocations: 51.95 kB / 1.097 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003545/0.6544, allocations: 310.6 kB / 1.097 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002558/0.6546, allocations: 143.7 kB / 1.097 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000173/0.6548, allocations: 115.5 kB / 1.097 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000189/0.655, allocations: 151.4 kB / 1.097 GB, free: 9.992 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.578e-05/0.655, allocations: 23.94 kB / 1.097 GB, free: 9.969 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 3.264e-05/0.6551, allocations: 16 kB / 1.097 GB, free: 9.953 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.353e-05/0.6552, allocations: 67.81 kB / 1.097 GB, free: 9.887 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.246e-05/0.6553, allocations: 103.4 kB / 1.097 GB, free: 9.785 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002143/0.6555, allocations: 225.5 kB / 1.098 GB, free: 9.566 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.6555, allocations: 0 / 1.098 GB, free: 9.566 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.665e-06/0.6555, allocations: 4 kB / 1.098 GB, free: 9.562 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.127e-05/0.6555, allocations: 3.938 kB / 1.098 GB, free: 9.559 MB / 0.8575 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.0004447/0.656, allocations: 483.1 kB / 1.098 GB, free: 9.039 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.656, allocations: 12.03 kB / 1.098 GB, free: 9.027 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.224e-05/0.6561, allocations: 66.72 kB / 1.098 GB, free: 8.953 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.366e-05/0.6561, allocations: 24.66 kB / 1.098 GB, free: 8.93 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002472/0.6564, allocations: 257.5 kB / 1.098 GB, free: 8.641 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.089e-05/0.6564, allocations: 16.81 kB / 1.098 GB, free: 8.621 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.47e-05/0.6564, allocations: 20.38 kB / 1.098 GB, free: 8.602 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000365/0.6568, allocations: 304.8 kB / 1.099 GB, free: 8.254 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.6568, allocations: 7.938 kB / 1.099 GB, free: 8.246 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.171e-05/0.6568, allocations: 15.98 kB / 1.099 GB, free: 8.23 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.6569, allocations: 8 kB / 1.099 GB, free: 8.223 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000175/0.657, allocations: 123.8 kB / 1.099 GB, free: 8.102 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001159/0.6582, allocations: 1.969 MB / 1.101 GB, free: 6.023 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.042e-05/0.6583, allocations: 173.1 kB / 1.101 GB, free: 5.844 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.062e-05/0.6583, allocations: 88.14 kB / 1.101 GB, free: 5.754 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.6584, allocations: 75.28 kB / 1.101 GB, free: 5.68 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.726e-05/0.6584, allocations: 109.8 kB / 1.101 GB, free: 5.562 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/0.6584, allocations: 0 / 1.101 GB, free: 5.562 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 9.641e-05/0.6585, allocations: 53.36 kB / 1.101 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.965e-05/0.6586, allocations: 126.7 kB / 1.101 GB, free: 5.367 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003159/0.6589, allocations: 336.5 kB / 1.102 GB, free: 5.023 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.889e-06/0.6589, allocations: 25.7 kB / 1.102 GB, free: 4.992 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.932e-05/0.659, allocations: 155.7 kB / 1.102 GB, free: 4.836 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.179e-06/0.659, allocations: 4 kB / 1.102 GB, free: 4.832 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.524e-05/0.6591, allocations: 25.7 kB / 1.102 GB, free: 4.801 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.6592, allocations: 334.8 kB / 1.102 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.837e-05/0.6592, allocations: 8 kB / 1.102 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.211e-05/0.6592, allocations: 58.86 kB / 1.102 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.176e-05/0.6593, allocations: 70.75 kB / 1.102 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.6593, allocations: 0 / 1.102 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001553/0.6595, allocations: 101.3 kB / 1.103 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.6595, allocations: 16.17 kB / 1.103 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.6595, allocations: 7.938 kB / 1.103 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.6595, allocations: 0 / 1.103 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.799e-05/0.6596, allocations: 19.88 kB / 1.103 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.6596, allocations: 4 kB / 1.103 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.4e-05/0.6597, allocations: 27.59 kB / 1.103 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.6597, allocations: 4 kB / 1.103 GB, free: 4.098 MB / 0.8575 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001168/0.6598, allocations: 209.1 kB / 1.103 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.789e-05/0.6599, allocations: 128.7 kB / 1.103 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.359e-05/0.66, allocations: 130 kB / 1.103 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.102e-05/0.66, allocations: 184.2 kB / 1.103 GB, free: 3.426 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.412e-05/0.6601, allocations: 176.3 kB / 1.103 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.285e-05/0.6602, allocations: 180.3 kB / 1.104 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000277/0.6604, allocations: 477.1 kB / 1.104 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.211e-05/0.6605, allocations: 105 kB / 1.104 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.214e-05/0.6605, allocations: 109.1 kB / 1.104 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-05/0.6606, allocations: 184.3 kB / 1.104 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.918e-05/0.6606, allocations: 184.2 kB / 1.105 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.958e-05/0.6607, allocations: 184.2 kB / 1.105 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.309e-05/0.6608, allocations: 184.3 kB / 1.105 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001265/0.6609, allocations: 323.5 kB / 1.105 GB, free: 1.227 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 9.395e-05/0.661, allocations: 209.7 kB / 1.105 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.19e-05/0.6611, allocations: 184.2 kB / 1.106 GB, free: 0.8086 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.485e-05/0.6612, allocations: 105 kB / 1.106 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.84e-05/0.6612, allocations: 188.2 kB / 1.106 GB, free: 0.5078 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.827e-05/0.6613, allocations: 101 kB / 1.106 GB, free: 412 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002055/0.6615, allocations: 235 kB / 1.106 GB, free: 180 kB / 0.8575 GB Notification: Performance of sort global known variables: time 2.1e-07/0.6615, allocations: 0 / 1.106 GB, free: 180 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002557/0.6617, allocations: 31.94 kB / 1.106 GB, free: 148 kB / 0.8575 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.0003482/0.6621, allocations: 0.8396 MB / 1.107 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 6.985e-05/0.6622, allocations: 15.94 kB / 1.107 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.6622, allocations: 0 / 1.107 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 2.916e-06/0.6622, allocations: 4 kB / 1.107 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000677/0.6629, allocations: 0.5314 MB / 1.108 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002262/0.6651, allocations: 2.574 MB / 1.11 GB, free: 12.03 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002563/0.6654, allocations: 0.7401 MB / 1.111 GB, free: 11.26 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 9.276e-05/0.6655, allocations: 30.28 kB / 1.111 GB, free: 11.23 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.28e-05/0.6656, allocations: 59.42 kB / 1.111 GB, free: 11.18 MB / 0.8731 GB Notification: Performance of SimCode: time 2.5e-07/0.6656, allocations: 0 / 1.111 GB, free: 11.18 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.228/1.893, allocations: 4.636 MB / 1.115 GB, free: 6.707 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002485/1.894, allocations: 211.5 kB / 1.116 GB, free: 6.453 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.74/3.634, allocations: 3.75 kB / 1.116 GB, free: 6.453 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.fmu > Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches