Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.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: translateModel(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conAir.m_flow|conAir.T|souRev.outlet.backward.T",fileNamePrefix="Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir") translateModel(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conAir.m_flow|conAir.T|souRev.outlet.backward.T",fileNamePrefix="Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00143/0.00143, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001634/0.001634, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.383/1.383, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.246/2.246, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002162/0.002162, allocations: 63.91 kB / 0.9515 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8611/0.8633, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir): time 0.1771/1.04, allocations: 147.9 MB / 1.233 GB, free: 6.719 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.005033/1.046, allocations: 4.649 MB / 1.238 GB, free: 2.969 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003714/1.046, allocations: 10.94 kB / 1.238 GB, free: 2.965 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.00057/1.047, allocations: 165.4 kB / 1.238 GB, free: 2.82 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003512/1.047, allocations: 86.19 kB / 1.238 GB, free: 2.75 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001684/1.047, allocations: 63.36 kB / 1.238 GB, free: 2.695 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004126/1.048, allocations: 290.7 kB / 1.238 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002569/1.048, allocations: 110.4 kB / 1.238 GB, free: 2.457 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002191/1.048, allocations: 103.9 kB / 1.238 GB, free: 2.398 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002032/1.048, allocations: 132.7 kB / 1.239 GB, free: 2.324 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.163e-05/1.048, allocations: 10.56 kB / 1.239 GB, free: 2.324 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 3.182e-05/1.048, allocations: 10.22 kB / 1.239 GB, free: 2.324 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.724e-05/1.048, allocations: 30.08 kB / 1.239 GB, free: 2.301 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.409e-05/1.048, allocations: 76.77 kB / 1.239 GB, free: 2.25 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001879/1.049, allocations: 159.7 kB / 1.239 GB, free: 2.141 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/1.049, allocations: 3.984 kB / 1.239 GB, free: 2.137 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.002e-06/1.049, allocations: 1.125 kB / 1.239 GB, free: 2.137 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.901e-06/1.049, allocations: 0 / 1.239 GB, free: 2.137 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0004181/1.049, allocations: 445.1 kB / 1.239 GB, free: 1.695 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/1.049, allocations: 9.625 kB / 1.239 GB, free: 1.695 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.275e-05/1.049, allocations: 18.38 kB / 1.239 GB, free: 1.688 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003575/1.05, allocations: 257.3 kB / 1.24 GB, free: 1.426 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/1.05, allocations: 11.25 kB / 1.24 GB, free: 1.422 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.249e-05/1.05, allocations: 17.56 kB / 1.24 GB, free: 1.414 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002617/1.05, allocations: 211.2 kB / 1.24 GB, free: 1.211 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.188e-06/1.05, allocations: 1.375 kB / 1.24 GB, free: 1.211 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.785e-05/1.05, allocations: 10.75 kB / 1.24 GB, free: 1.203 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/1.05, allocations: 4.125 kB / 1.24 GB, free: 1.203 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001251/1.05, allocations: 75.53 kB / 1.24 GB, free: 1.164 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009656/1.051, allocations: 1.577 MB / 1.241 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.721e-05/1.051, allocations: 182.4 kB / 1.242 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.109e-05/1.051, allocations: 80.14 kB / 1.242 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.199e-05/1.051, allocations: 76.59 kB / 1.242 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.875e-05/1.051, allocations: 105.8 kB / 1.242 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.202e-06/1.051, allocations: 1.312 kB / 1.242 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 9.135e-05/1.051, allocations: 45.58 kB / 1.242 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.609e-05/1.051, allocations: 138.6 kB / 1.242 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002422/1.052, allocations: 250 kB / 1.242 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.298e-05/1.052, allocations: 25.7 kB / 1.242 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.314e-05/1.052, allocations: 146.4 kB / 1.242 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.318e-06/1.052, allocations: 3.984 kB / 1.242 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.422e-05/1.052, allocations: 19.84 kB / 1.242 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001024/1.052, allocations: 330.5 kB / 1.243 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.714e-05/1.052, allocations: 11.19 kB / 1.243 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.301e-05/1.052, allocations: 41.33 kB / 1.243 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.816e-05/1.052, allocations: 68.75 kB / 1.243 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/1.052, allocations: 1.281 kB / 1.243 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000163/1.052, allocations: 90.09 kB / 1.243 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/1.052, allocations: 9.25 kB / 1.243 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/1.052, allocations: 1.594 kB / 1.243 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/1.052, allocations: 3 kB / 1.243 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.252e-05/1.052, allocations: 10.56 kB / 1.243 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.326e-05/1.052, allocations: 13.38 kB / 1.243 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.519e-05/1.052, allocations: 22.03 kB / 1.243 GB, free: 14 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/1.052, allocations: 3.625 kB / 1.243 GB, free: 14 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (7): * Single equations (assignments): 7 * 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.0001216/1.053, allocations: 199.2 kB / 1.243 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.141e-05/1.053, allocations: 125.4 kB / 1.243 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.685e-05/1.053, allocations: 124.1 kB / 1.243 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.622e-05/1.053, allocations: 181.7 kB / 1.244 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.347e-05/1.053, allocations: 180.2 kB / 1.244 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-05/1.053, allocations: 181.9 kB / 1.244 GB, free: 13 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002531/1.053, allocations: 453.9 kB / 1.244 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.113e-05/1.053, allocations: 114.4 kB / 1.244 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.276e-05/1.053, allocations: 105 kB / 1.245 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.867e-05/1.053, allocations: 181.6 kB / 1.245 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.235e-05/1.053, allocations: 177.8 kB / 1.245 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.621e-05/1.053, allocations: 176.3 kB / 1.245 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.465e-05/1.053, allocations: 185.8 kB / 1.245 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001313/1.054, allocations: 330.6 kB / 1.246 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.128e-05/1.054, allocations: 197.9 kB / 1.246 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.741e-05/1.054, allocations: 181.3 kB / 1.246 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.607e-05/1.054, allocations: 105.9 kB / 1.246 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.838e-05/1.054, allocations: 181.7 kB / 1.246 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.093e-05/1.054, allocations: 106.4 kB / 1.246 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001631/1.054, allocations: 177.8 kB / 1.247 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.4e-07/1.054, allocations: 0 / 1.247 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002531/1.054, allocations: 22.5 kB / 1.247 GB, free: 10.3 MB / 0.9825 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.0001177/1.055, allocations: 175.8 kB / 1.247 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.752e-05/1.055, allocations: 24.19 kB / 1.247 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/1.055, allocations: 3.938 kB / 1.247 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.804e-06/1.055, allocations: 0 / 1.247 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006039/1.055, allocations: 0.496 MB / 1.247 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004189/1.056, allocations: 345.6 kB / 1.248 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000231/1.056, allocations: 0.7145 MB / 1.248 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.787e-05/1.056, allocations: 15.69 kB / 1.248 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of SimCode: time 2e-07/1.056, allocations: 0 / 1.248 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of Templates: time 0.003631/1.06, allocations: 1.887 MB / 1.25 GB, free: 7.648 MB / 0.9825 GB make -j1 -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.makefile (rm -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.sim & ./Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches