Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="Buildings_10_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.001214/0.001214, allocations: 108 kB / 15.6 MB, free: 132 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.001219/0.001219, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.202/1.202, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.417/2.417, allocations: 437 MB / 0.7104 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 67.89 kB / 0.8693 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5555/0.5569, allocations: 151.6 MB / 1.017 GB, free: 2.461 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.1655/0.7224, allocations: 174.1 MB / 1.187 GB, free: 3.75 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.009014/0.7315, allocations: 9.514 MB / 1.197 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002662/0.7318, allocations: 7.938 kB / 1.197 GB, free: 10.19 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0005108/0.7323, allocations: 186.7 kB / 1.197 GB, free: 10.01 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002514/0.7326, allocations: 99.31 kB / 1.197 GB, free: 9.91 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001762/0.7328, allocations: 63.91 kB / 1.197 GB, free: 9.848 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0003616/0.7332, allocations: 326.6 kB / 1.197 GB, free: 9.527 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003412/0.7335, allocations: 212.7 kB / 1.198 GB, free: 9.32 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003198/0.7338, allocations: 171.4 kB / 1.198 GB, free: 9.152 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001335/0.734, allocations: 119.4 kB / 1.198 GB, free: 9.035 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.393e-05/0.734, allocations: 24 kB / 1.198 GB, free: 9.012 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 3.826e-05/0.7341, allocations: 20 kB / 1.198 GB, free: 8.992 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 8.235e-05/0.7341, allocations: 79.75 kB / 1.198 GB, free: 8.914 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001217/0.7343, allocations: 131.3 kB / 1.198 GB, free: 8.785 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002477/0.7345, allocations: 271.1 kB / 1.198 GB, free: 8.52 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.7345, allocations: 0 / 1.198 GB, free: 8.52 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.282e-06/0.7346, allocations: 0 / 1.198 GB, free: 8.52 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.273e-06/0.7346, allocations: 0 / 1.198 GB, free: 8.52 MB / 0.9512 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.0004714/0.735, allocations: 0.5185 MB / 1.199 GB, free: 7.953 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.7351, allocations: 8.031 kB / 1.199 GB, free: 7.945 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.005e-05/0.7351, allocations: 62.53 kB / 1.199 GB, free: 7.875 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.001e-05/0.7352, allocations: 31.66 kB / 1.199 GB, free: 7.844 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000268/0.7355, allocations: 267.5 kB / 1.199 GB, free: 7.543 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.278e-05/0.7355, allocations: 20.56 kB / 1.199 GB, free: 7.523 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.739e-05/0.7355, allocations: 24 kB / 1.199 GB, free: 7.5 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004125/0.736, allocations: 324 kB / 1.2 GB, free: 7.137 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.736, allocations: 3.938 kB / 1.2 GB, free: 7.133 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.295e-05/0.736, allocations: 12 kB / 1.2 GB, free: 7.121 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.736, allocations: 15.94 kB / 1.2 GB, free: 7.105 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002217/0.7363, allocations: 143.7 kB / 1.2 GB, free: 6.965 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001184/0.7374, allocations: 1.812 MB / 1.201 GB, free: 5.055 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 6.547e-05/0.7375, allocations: 165.1 kB / 1.202 GB, free: 4.883 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.836e-05/0.7376, allocations: 88.08 kB / 1.202 GB, free: 4.793 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.358e-05/0.7376, allocations: 83.19 kB / 1.202 GB, free: 4.711 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.768e-05/0.7376, allocations: 113.8 kB / 1.202 GB, free: 4.59 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 9.61e-07/0.7376, allocations: 0 / 1.202 GB, free: 4.59 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 8.881e-05/0.7377, allocations: 57.33 kB / 1.202 GB, free: 4.527 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.877e-05/0.7378, allocations: 126.7 kB / 1.202 GB, free: 4.391 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003648/0.7382, allocations: 373.7 kB / 1.202 GB, free: 4.02 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.201e-05/0.7382, allocations: 25.7 kB / 1.202 GB, free: 3.988 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.7383, allocations: 167.8 kB / 1.203 GB, free: 3.82 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.374e-06/0.7383, allocations: 4 kB / 1.203 GB, free: 3.816 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.233e-05/0.7383, allocations: 21.72 kB / 1.203 GB, free: 3.789 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.7384, allocations: 334.8 kB / 1.203 GB, free: 3.453 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.727e-05/0.7385, allocations: 7.984 kB / 1.203 GB, free: 3.445 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.748e-05/0.7385, allocations: 36.23 kB / 1.203 GB, free: 3.395 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.049e-05/0.7386, allocations: 44.36 kB / 1.203 GB, free: 3.336 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.7386, allocations: 8 kB / 1.203 GB, free: 3.328 MB / 0.9512 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001455/0.7387, allocations: 85.22 kB / 1.203 GB, free: 3.238 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.7387, allocations: 12.16 kB / 1.203 GB, free: 3.227 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.7388, allocations: 0 / 1.203 GB, free: 3.227 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.7388, allocations: 0 / 1.203 GB, free: 3.227 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.499e-05/0.7388, allocations: 11.98 kB / 1.203 GB, free: 3.215 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.7388, allocations: 4 kB / 1.203 GB, free: 3.211 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.371e-05/0.7389, allocations: 31.59 kB / 1.203 GB, free: 3.18 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.009e-06/0.7389, allocations: 0 / 1.203 GB, free: 3.18 MB / 0.9512 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.0001197/0.7391, allocations: 213.1 kB / 1.203 GB, free: 2.961 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.579e-05/0.7391, allocations: 136.6 kB / 1.204 GB, free: 2.82 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.98e-05/0.7392, allocations: 127 kB / 1.204 GB, free: 2.684 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.182e-05/0.7393, allocations: 180.4 kB / 1.204 GB, free: 2.5 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.156e-05/0.7393, allocations: 188.1 kB / 1.204 GB, free: 2.309 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.514e-05/0.7394, allocations: 176.3 kB / 1.204 GB, free: 2.129 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002819/0.7397, allocations: 497 kB / 1.205 GB, free: 1.586 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.716e-05/0.7397, allocations: 105 kB / 1.205 GB, free: 1.477 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.302e-05/0.7397, allocations: 108.9 kB / 1.205 GB, free: 1.363 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.48e-05/0.7398, allocations: 176.3 kB / 1.205 GB, free: 1.184 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.677e-05/0.7398, allocations: 188.2 kB / 1.205 GB, free: 0.9922 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.833e-05/0.7399, allocations: 180.2 kB / 1.205 GB, free: 0.8086 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.258e-05/0.74, allocations: 184.3 kB / 1.206 GB, free: 0.6211 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001254/0.7401, allocations: 335.3 kB / 1.206 GB, free: 276 kB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 9.572e-05/0.7402, allocations: 205.8 kB / 1.206 GB, free: 44 kB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.153e-05/0.7403, allocations: 184.2 kB / 1.206 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.965e-05/0.7404, allocations: 105.3 kB / 1.206 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.391e-05/0.7405, allocations: 184.2 kB / 1.206 GB, free: 15.56 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.782e-05/0.7405, allocations: 101 kB / 1.207 GB, free: 15.45 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002568/0.7408, allocations: 275.1 kB / 1.207 GB, free: 15.19 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7408, allocations: 0 / 1.207 GB, free: 15.19 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002628/0.741, allocations: 31.94 kB / 1.207 GB, free: 15.16 MB / 0.9669 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.0003494/0.7414, allocations: 0.8474 MB / 1.208 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 6.425e-05/0.7415, allocations: 8 kB / 1.208 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.7415, allocations: 0 / 1.208 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.362e-06/0.7415, allocations: 3.938 kB / 1.208 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008171/0.7423, allocations: 0.5541 MB / 1.208 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002506/0.7448, allocations: 2.71 MB / 1.211 GB, free: 10.9 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002681/0.7451, allocations: 0.7518 MB / 1.212 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001115/0.7452, allocations: 34.95 kB / 1.212 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.618e-05/0.7453, allocations: 71.42 kB / 1.212 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of SimCode: time 2.61e-07/0.7453, allocations: 0 / 1.212 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1744/0.9198, allocations: 5.834 MB / 1.217 GB, free: 4.328 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.039/9.959, allocations: 3.938 kB / 1.217 GB, free: 4.324 MB / 0.9669 GB (rm -f Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.fmu > Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches