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.001014/0.001014, allocations: 89.89 kB / 15.36 MB, free: 0.7383 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.009272/0.009273, allocations: 172.3 kB / 16.26 MB, free: 6.613 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.625/1.625, allocations: 223.3 MB / 240.3 MB, free: 5.309 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.612/2.612, allocations: 390.9 MB / 0.6663 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005349/0.000535, allocations: 8 kB / 0.816 GB, free: 13.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9145/0.915, allocations: 142.4 MB / 0.955 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir): time 0.2353/1.15, allocations: 143.8 MB / 1.096 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005829/1.156, allocations: 4.549 MB / 1.1 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003981/1.157, allocations: 7.938 kB / 1.1 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006467/1.157, allocations: 131.2 kB / 1.1 GB, free: 10.26 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003939/1.158, allocations: 75.58 kB / 1.1 GB, free: 10.19 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001874/1.158, allocations: 47.95 kB / 1.1 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005199/1.159, allocations: 362.5 kB / 1.101 GB, free: 9.785 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002895/1.159, allocations: 107.5 kB / 1.101 GB, free: 9.676 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002793/1.159, allocations: 79.59 kB / 1.101 GB, free: 9.598 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00026/1.159, allocations: 123.4 kB / 1.101 GB, free: 9.477 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.076e-05/1.159, allocations: 4 kB / 1.101 GB, free: 9.473 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 3.51e-05/1.159, allocations: 4 kB / 1.101 GB, free: 9.469 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.767e-05/1.16, allocations: 23.86 kB / 1.101 GB, free: 9.445 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001115/1.16, allocations: 85.33 kB / 1.101 GB, free: 9.355 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001872/1.16, allocations: 149.4 kB / 1.101 GB, free: 9.211 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.281e-06/1.16, allocations: 0 / 1.101 GB, free: 9.211 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.074e-06/1.16, allocations: 0 / 1.101 GB, free: 9.211 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.634e-06/1.16, allocations: 0 / 1.101 GB, free: 9.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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.000639/1.161, allocations: 415 kB / 1.101 GB, free: 8.758 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.077e-05/1.161, allocations: 12.03 kB / 1.102 GB, free: 8.746 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.034e-05/1.161, allocations: 24.59 kB / 1.102 GB, free: 8.723 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003497/1.161, allocations: 241.4 kB / 1.102 GB, free: 8.449 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.008e-05/1.161, allocations: 8.375 kB / 1.102 GB, free: 8.441 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.547e-05/1.161, allocations: 23.94 kB / 1.102 GB, free: 8.418 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003187/1.161, allocations: 212.2 kB / 1.102 GB, free: 8.164 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/1.161, allocations: 0 / 1.102 GB, free: 8.164 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.385e-05/1.161, allocations: 12 kB / 1.102 GB, free: 8.152 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/1.161, allocations: 4 kB / 1.102 GB, free: 8.148 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001216/1.162, allocations: 75.72 kB / 1.102 GB, free: 8.074 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001279/1.163, allocations: 1.59 MB / 1.104 GB, free: 6.387 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001164/1.163, allocations: 173 kB / 1.104 GB, free: 6.207 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.338e-05/1.163, allocations: 88.17 kB / 1.104 GB, free: 6.117 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.269e-05/1.163, allocations: 75.28 kB / 1.104 GB, free: 6.043 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.231e-05/1.163, allocations: 105.8 kB / 1.104 GB, free: 5.93 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/1.163, allocations: 0 / 1.104 GB, free: 5.93 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 0.000117/1.163, allocations: 49.5 kB / 1.104 GB, free: 5.875 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.399e-05/1.163, allocations: 130.7 kB / 1.104 GB, free: 5.734 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003054/1.164, allocations: 250.6 kB / 1.104 GB, free: 5.48 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.132e-05/1.164, allocations: 25.7 kB / 1.104 GB, free: 5.449 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001349/1.164, allocations: 143.7 kB / 1.105 GB, free: 5.305 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.099e-06/1.164, allocations: 0 / 1.105 GB, free: 5.305 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.069e-05/1.164, allocations: 17.72 kB / 1.105 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001524/1.164, allocations: 326.8 kB / 1.105 GB, free: 4.953 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.955e-05/1.164, allocations: 8 kB / 1.105 GB, free: 4.945 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.321e-05/1.164, allocations: 50 kB / 1.105 GB, free: 4.875 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.418e-05/1.164, allocations: 65.88 kB / 1.105 GB, free: 4.789 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/1.164, allocations: 0 / 1.105 GB, free: 4.789 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002254/1.164, allocations: 89.31 kB / 1.105 GB, free: 4.695 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/1.165, allocations: 8 kB / 1.105 GB, free: 4.688 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/1.165, allocations: 0 / 1.105 GB, free: 4.688 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/1.165, allocations: 4 kB / 1.105 GB, free: 4.684 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.11e-05/1.165, allocations: 8 kB / 1.105 GB, free: 4.676 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.197e-05/1.165, allocations: 16.14 kB / 1.105 GB, free: 4.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.94e-05/1.165, allocations: 19.78 kB / 1.105 GB, free: 4.641 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/1.165, allocations: 4 kB / 1.105 GB, free: 4.637 MB / 0.8575 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.0001601/1.165, allocations: 201.1 kB / 1.105 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.218e-05/1.165, allocations: 124.6 kB / 1.106 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.098e-05/1.165, allocations: 125.8 kB / 1.106 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.911e-05/1.165, allocations: 176.3 kB / 1.106 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-05/1.165, allocations: 184.2 kB / 1.106 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-05/1.165, allocations: 176.3 kB / 1.106 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000307/1.166, allocations: 461.1 kB / 1.107 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.984e-05/1.166, allocations: 108.9 kB / 1.107 GB, free: 3 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.177e-05/1.166, allocations: 101 kB / 1.107 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.231e-05/1.166, allocations: 184.2 kB / 1.107 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.56e-05/1.166, allocations: 180.5 kB / 1.107 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.118e-05/1.166, allocations: 176.3 kB / 1.107 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.185e-05/1.166, allocations: 196.2 kB / 1.108 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001776/1.166, allocations: 331.4 kB / 1.108 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/1.166, allocations: 197.9 kB / 1.108 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.654e-05/1.166, allocations: 176.3 kB / 1.108 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/1.167, allocations: 108.9 kB / 1.108 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.729e-05/1.167, allocations: 176.3 kB / 1.108 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.938e-05/1.167, allocations: 104.9 kB / 1.109 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001711/1.167, allocations: 190 kB / 1.109 GB, free: 0.8125 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/1.167, allocations: 0 / 1.109 GB, free: 0.8125 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002532/1.167, allocations: 20 kB / 1.109 GB, free: 0.793 MB / 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.0001394/1.167, allocations: 170.5 kB / 1.109 GB, free: 0.6172 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 9.2e-05/1.167, allocations: 19.94 kB / 1.109 GB, free: 0.5977 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/1.167, allocations: 0 / 1.109 GB, free: 0.5977 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.784e-06/1.167, allocations: 448 / 1.109 GB, free: 0.5977 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008271/1.168, allocations: 0.5806 MB / 1.11 GB, free: 12 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005701/1.169, allocations: 355.4 kB / 1.11 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002862/1.169, allocations: 0.7127 MB / 1.111 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 7.845e-05/1.169, allocations: 25.53 kB / 1.111 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.738e-05/1.169, allocations: 15.44 kB / 1.111 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of SimCode: time 2.4e-07/1.169, allocations: 0 / 1.111 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of Templates: time 0.004762/1.174, allocations: 1.501 MB / 1.112 GB, free: 13.38 MB / 0.8731 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/jenkins/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