Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.InletToAirMoistAirCO2,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="Buildings_latest_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.0012/0.0012, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001308/0.001308, allocations: 187.9 kB / 16.25 MB, free: 6.621 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.187/1.187, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.357/2.357, allocations: 461.9 MB / 0.7343 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001081/0.001081, allocations: 64.3 kB / 0.8987 GB, free: 37.17 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2095/0.2106, allocations: 157.4 MB / 1.052 GB, free: 8.656 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.1354/0.3461, allocations: 171.7 MB / 1.22 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00713/0.3532, allocations: 9.43 MB / 1.229 GB, free: 2.812 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001996/0.3535, allocations: 11.94 kB / 1.229 GB, free: 2.801 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004066/0.3539, allocations: 155.1 kB / 1.229 GB, free: 2.648 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001828/0.3541, allocations: 91.42 kB / 1.23 GB, free: 2.559 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001407/0.3543, allocations: 51.97 kB / 1.23 GB, free: 2.508 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003079/0.3546, allocations: 330.7 kB / 1.23 GB, free: 2.184 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000274/0.3549, allocations: 200.9 kB / 1.23 GB, free: 1.984 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000267/0.3551, allocations: 171.3 kB / 1.23 GB, free: 1.816 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001143/0.3553, allocations: 123.5 kB / 1.23 GB, free: 1.695 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.659e-05/0.3553, allocations: 24 kB / 1.23 GB, free: 1.672 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 3.014e-05/0.3553, allocations: 20 kB / 1.23 GB, free: 1.652 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.861e-05/0.3554, allocations: 75.75 kB / 1.231 GB, free: 1.578 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.428e-05/0.3555, allocations: 127.4 kB / 1.231 GB, free: 1.453 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002082/0.3557, allocations: 271.1 kB / 1.231 GB, free: 1.188 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.3557, allocations: 0 / 1.231 GB, free: 1.188 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.274e-06/0.3557, allocations: 0 / 1.231 GB, free: 1.188 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.3557, allocations: 3.938 kB / 1.231 GB, free: 1.184 MB / 0.9825 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.0003982/0.3561, allocations: 0.5185 MB / 1.231 GB, free: 0.6172 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.157e-05/0.3562, allocations: 8.625 kB / 1.231 GB, free: 0.6094 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.704e-05/0.3562, allocations: 62.53 kB / 1.231 GB, free: 0.5391 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.097e-05/0.3563, allocations: 35.56 kB / 1.232 GB, free: 0.5039 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002206/0.3565, allocations: 262.5 kB / 1.232 GB, free: 212 kB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.3565, allocations: 20.56 kB / 1.232 GB, free: 188 kB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.654e-05/0.3566, allocations: 24 kB / 1.232 GB, free: 164 kB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003618/0.3569, allocations: 327.8 kB / 1.232 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.3569, allocations: 0 / 1.232 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.816e-05/0.357, allocations: 12 kB / 1.232 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.357, allocations: 11.94 kB / 1.232 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001791/0.3572, allocations: 143.8 kB / 1.232 GB, free: 15.63 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009805/0.3581, allocations: 1.824 MB / 1.234 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.59e-05/0.3582, allocations: 165.1 kB / 1.234 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.217e-05/0.3582, allocations: 88.02 kB / 1.234 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.954e-05/0.3583, allocations: 75.28 kB / 1.234 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/0.3583, allocations: 109.8 kB / 1.234 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.3583, allocations: 0 / 1.234 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 7.35e-05/0.3584, allocations: 57.36 kB / 1.235 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/0.3584, allocations: 126.7 kB / 1.235 GB, free: 13.06 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003047/0.3587, allocations: 377.6 kB / 1.235 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.665e-06/0.3587, allocations: 25.7 kB / 1.235 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.866e-05/0.3588, allocations: 163.8 kB / 1.235 GB, free: 12.49 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.275e-06/0.3589, allocations: 4 kB / 1.235 GB, free: 12.49 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.594e-05/0.3589, allocations: 17.72 kB / 1.235 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.567e-05/0.359, allocations: 338.8 kB / 1.236 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.316e-05/0.359, allocations: 7.984 kB / 1.236 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.239e-05/0.359, allocations: 32.3 kB / 1.236 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.153e-05/0.3591, allocations: 44.23 kB / 1.236 GB, free: 12.01 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.3591, allocations: 128 / 1.236 GB, free: 12.01 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001184/0.3592, allocations: 101.1 kB / 1.236 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.3592, allocations: 8.156 kB / 1.236 GB, free: 11.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.828e-06/0.3592, allocations: 4 kB / 1.236 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.989e-06/0.3592, allocations: 3.984 kB / 1.236 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.098e-05/0.3593, allocations: 12.09 kB / 1.236 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.3593, allocations: 11.88 kB / 1.236 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.786e-05/0.3594, allocations: 23.62 kB / 1.236 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.967e-06/0.3594, allocations: 4 kB / 1.236 GB, free: 11.84 MB / 0.9981 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 9.823e-05/0.3595, allocations: 210.6 kB / 1.236 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.894e-05/0.3595, allocations: 136.5 kB / 1.236 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.18e-05/0.3596, allocations: 134.9 kB / 1.236 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.063e-05/0.3596, allocations: 176.3 kB / 1.236 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.975e-05/0.3597, allocations: 184.2 kB / 1.237 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.896e-05/0.3597, allocations: 180.2 kB / 1.237 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00023/0.36, allocations: 489 kB / 1.237 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.366e-05/0.36, allocations: 112.9 kB / 1.237 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.389e-05/0.36, allocations: 105 kB / 1.237 GB, free: 10.03 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.14e-05/0.3601, allocations: 180.5 kB / 1.238 GB, free: 9.848 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.447e-05/0.3601, allocations: 184.2 kB / 1.238 GB, free: 9.66 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-05/0.3602, allocations: 184.3 kB / 1.238 GB, free: 9.473 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.991e-05/0.3602, allocations: 180.2 kB / 1.238 GB, free: 9.289 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001035/0.3603, allocations: 339.4 kB / 1.238 GB, free: 8.934 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.815e-05/0.3604, allocations: 201.8 kB / 1.239 GB, free: 8.711 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.503e-05/0.3605, allocations: 180.2 kB / 1.239 GB, free: 8.527 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.5e-05/0.3606, allocations: 108.9 kB / 1.239 GB, free: 8.414 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.467e-05/0.3606, allocations: 180.3 kB / 1.239 GB, free: 8.23 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.508e-05/0.3606, allocations: 112.9 kB / 1.239 GB, free: 8.113 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002048/0.3609, allocations: 267.2 kB / 1.239 GB, free: 7.852 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2e-07/0.3609, allocations: 0 / 1.239 GB, free: 7.852 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002213/0.3611, allocations: 31.91 kB / 1.239 GB, free: 7.82 MB / 0.9981 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.0002773/0.3614, allocations: 0.8358 MB / 1.24 GB, free: 6.957 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 5.541e-05/0.3614, allocations: 15.94 kB / 1.24 GB, free: 6.941 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.3614, allocations: 0 / 1.24 GB, free: 6.941 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.012e-06/0.3614, allocations: 0 / 1.24 GB, free: 6.941 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006841/0.3621, allocations: 0.5481 MB / 1.241 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002103/0.3642, allocations: 2.768 MB / 1.244 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002164/0.3645, allocations: 0.7518 MB / 1.244 GB, free: 2.75 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 9.258e-05/0.3646, allocations: 34.95 kB / 1.244 GB, free: 2.715 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.557e-05/0.3646, allocations: 75.42 kB / 1.244 GB, free: 2.641 MB / 0.9981 GB Notification: Performance of SimCode: time 2.1e-07/0.3647, allocations: 0 / 1.244 GB, free: 2.641 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.006/2.371, allocations: 5.748 MB / 1.25 GB, free: 196.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001491/2.371, allocations: 221.4 kB / 1.25 GB, free: 196.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.07/4.441, allocations: 3.906 kB / 1.25 GB, free: 196.2 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.fmu > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches