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.001299/0.001299, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001662/0.001662, allocations: 193.1 kB / 16.53 MB, free: 6.664 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.323/1.323, allocations: 222.9 MB / 240.2 MB, free: 4.441 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.276/2.276, allocations: 390.3 MB / 0.6647 GB, free: 472 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 63.91 kB / 0.8127 GB, free: 14.37 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6646/0.6658, allocations: 140.4 MB / 0.9497 GB, free: 9.207 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.1603/0.8261, allocations: 148 MB / 1.094 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005102/0.8313, allocations: 4.654 MB / 1.099 GB, free: 8.648 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002061/0.8315, allocations: 7.938 kB / 1.099 GB, free: 8.641 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004661/0.832, allocations: 166.8 kB / 1.099 GB, free: 8.477 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002909/0.8323, allocations: 79.44 kB / 1.099 GB, free: 8.398 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001428/0.8325, allocations: 63.92 kB / 1.099 GB, free: 8.336 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000472/0.833, allocations: 306.6 kB / 1.099 GB, free: 8.035 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002624/0.8332, allocations: 143.7 kB / 1.1 GB, free: 7.898 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001603/0.8334, allocations: 115.5 kB / 1.1 GB, free: 7.785 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001821/0.8336, allocations: 147.5 kB / 1.1 GB, free: 7.641 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.326e-05/0.8336, allocations: 16 kB / 1.1 GB, free: 7.625 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 3.091e-05/0.8337, allocations: 20 kB / 1.1 GB, free: 7.605 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.27e-05/0.8338, allocations: 67.81 kB / 1.1 GB, free: 7.539 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.232e-05/0.8339, allocations: 103.4 kB / 1.1 GB, free: 7.438 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002118/0.8341, allocations: 229.5 kB / 1.1 GB, free: 7.215 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.8341, allocations: 0 / 1.1 GB, free: 7.215 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.022e-06/0.8341, allocations: 3.938 kB / 1.1 GB, free: 7.211 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.8341, allocations: 0 / 1.1 GB, free: 7.211 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.0004502/0.8346, allocations: 491.1 kB / 1.101 GB, free: 6.684 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.8346, allocations: 8.031 kB / 1.101 GB, free: 6.676 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.298e-05/0.8347, allocations: 62.72 kB / 1.101 GB, free: 6.605 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.098e-05/0.8347, allocations: 24.66 kB / 1.101 GB, free: 6.582 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000251/0.835, allocations: 263.8 kB / 1.101 GB, free: 6.285 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.835, allocations: 12.81 kB / 1.101 GB, free: 6.27 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.818e-05/0.835, allocations: 24.38 kB / 1.101 GB, free: 6.246 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000367/0.8354, allocations: 304.8 kB / 1.101 GB, free: 5.898 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.8354, allocations: 0 / 1.101 GB, free: 5.898 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.8354, allocations: 12 kB / 1.101 GB, free: 5.887 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.926e-06/0.8354, allocations: 8 kB / 1.101 GB, free: 5.879 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001774/0.8356, allocations: 131.7 kB / 1.101 GB, free: 5.75 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001516/0.8372, allocations: 1.969 MB / 1.103 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001494/0.8373, allocations: 173.1 kB / 1.104 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001206/0.8374, allocations: 84.14 kB / 1.104 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.358e-05/0.8375, allocations: 75.28 kB / 1.104 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.738e-05/0.8375, allocations: 105.8 kB / 1.104 GB, free: 3.219 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.8375, allocations: 0 / 1.104 GB, free: 3.219 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 9.03e-05/0.8376, allocations: 57.3 kB / 1.104 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.143e-05/0.8377, allocations: 126.7 kB / 1.104 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003501/0.838, allocations: 336.5 kB / 1.104 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.908e-06/0.8381, allocations: 25.7 kB / 1.104 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.8382, allocations: 159.7 kB / 1.104 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.946e-06/0.8382, allocations: 0 / 1.104 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.446e-05/0.8382, allocations: 29.73 kB / 1.105 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.8383, allocations: 330.8 kB / 1.105 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.958e-05/0.8384, allocations: 12 kB / 1.105 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.86e-05/0.8384, allocations: 58.86 kB / 1.105 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001068/0.8385, allocations: 70.75 kB / 1.105 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.8385, allocations: 0 / 1.105 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001621/0.8387, allocations: 101.2 kB / 1.105 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.8387, allocations: 4.25 kB / 1.105 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/0.8387, allocations: 15.92 kB / 1.105 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.8388, allocations: 3.938 kB / 1.105 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.457e-05/0.8388, allocations: 12 kB / 1.105 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.605e-06/0.8388, allocations: 4 kB / 1.105 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.671e-05/0.8389, allocations: 27.59 kB / 1.105 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-06/0.8389, allocations: 11.94 kB / 1.105 GB, free: 1.75 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.0001203/0.8391, allocations: 209.1 kB / 1.105 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.574e-05/0.8391, allocations: 124.8 kB / 1.105 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.282e-05/0.8392, allocations: 133.9 kB / 1.106 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-05/0.8393, allocations: 180.2 kB / 1.106 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-05/0.8394, allocations: 184.2 kB / 1.106 GB, free: 0.8945 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-05/0.8394, allocations: 176.3 kB / 1.106 GB, free: 0.7148 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004598/0.8399, allocations: 477.1 kB / 1.107 GB, free: 196 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.954e-05/0.84, allocations: 112.9 kB / 1.107 GB, free: 76 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.146e-05/0.84, allocations: 104.9 kB / 1.107 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001349/0.8402, allocations: 180.2 kB / 1.107 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.199e-05/0.8402, allocations: 180.2 kB / 1.107 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.281e-05/0.8403, allocations: 184.2 kB / 1.107 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001063/0.8404, allocations: 180.2 kB / 1.107 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000138/0.8405, allocations: 331.5 kB / 1.108 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001498/0.8407, allocations: 205.8 kB / 1.108 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.285e-05/0.8408, allocations: 184.2 kB / 1.108 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001421/0.8409, allocations: 104.9 kB / 1.108 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.23e-05/0.841, allocations: 184.2 kB / 1.108 GB, free: 14.17 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.894e-05/0.8411, allocations: 104.9 kB / 1.109 GB, free: 14.06 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002172/0.8413, allocations: 243 kB / 1.109 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8413, allocations: 0 / 1.109 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003101/0.8416, allocations: 27.94 kB / 1.109 GB, free: 13.8 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 (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.0003737/0.842, allocations: 0.8322 MB / 1.11 GB, free: 12.94 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 8.14e-05/0.8421, allocations: 23.88 kB / 1.11 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.8421, allocations: 4 kB / 1.11 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.263e-06/0.8421, allocations: 0 / 1.11 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007159/0.8428, allocations: 0.5219 MB / 1.11 GB, free: 12.39 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002559/0.8454, allocations: 2.533 MB / 1.113 GB, free: 9.723 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004231/0.8458, allocations: 0.744 MB / 1.113 GB, free: 8.953 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 9.102e-05/0.8459, allocations: 26.28 kB / 1.113 GB, free: 8.93 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.483e-05/0.846, allocations: 63.36 kB / 1.113 GB, free: 8.867 MB / 0.8731 GB Notification: Performance of SimCode: time 1.9e-07/0.846, allocations: 0 / 1.113 GB, free: 8.867 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02015/0.8661, allocations: 4.731 MB / 1.118 GB, free: 4.262 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.722/8.588, allocations: 3.75 kB / 1.118 GB, free: 4.262 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