Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.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.AirToOutlet,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conAirNoC.outlet.m_flow|conAirWithC.outlet.m_flow|conDryAirNoC.outlet.m_flow|conDryAirWithC.outlet.m_flow|conAirNoC.outlet.forward.T|conAirWithC.outlet.forward.T|conDryAirNoC.outlet.forward.T|conDryAirWithC.outlet.forward.T|conAirNoC.outlet.forward.X_w|conAirWithC.outlet.forward.X_w|conAirWithC.outlet.forward.C.1.|conDryAirWithC.outlet.forward.C.1.",fileNamePrefix="Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet") translateModel(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conAirNoC.outlet.m_flow|conAirWithC.outlet.m_flow|conDryAirNoC.outlet.m_flow|conDryAirWithC.outlet.m_flow|conAirNoC.outlet.forward.T|conAirWithC.outlet.forward.T|conDryAirNoC.outlet.forward.T|conDryAirWithC.outlet.forward.T|conAirNoC.outlet.forward.X_w|conAirWithC.outlet.forward.X_w|conAirWithC.outlet.forward.C.1.|conDryAirWithC.outlet.forward.C.1.",fileNamePrefix="Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001099/0.001098, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.007638/0.007637, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.486/1.486, allocations: 223.3 MB / 240.3 MB, free: 5.355 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.447/2.447, allocations: 390.9 MB / 0.6663 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004931/0.0004933, allocations: 12 kB / 0.816 GB, free: 13.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8842/0.8848, allocations: 142.4 MB / 0.955 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.2181/1.103, allocations: 165.9 MB / 1.117 GB, free: 8.914 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.006868/1.11, allocations: 5.902 MB / 1.123 GB, free: 2.996 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003992/1.11, allocations: 11.94 kB / 1.123 GB, free: 2.984 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0006473/1.111, allocations: 147.1 kB / 1.123 GB, free: 2.84 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.0003362/1.111, allocations: 79.5 kB / 1.123 GB, free: 2.762 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001236/1.113, allocations: 490.5 kB / 1.124 GB, free: 2.281 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.000521/1.113, allocations: 478.4 kB / 1.124 GB, free: 1.812 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000289/1.113, allocations: 127.6 kB / 1.124 GB, free: 1.684 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003046/1.114, allocations: 163.3 kB / 1.124 GB, free: 1.523 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002138/1.114, allocations: 135.4 kB / 1.124 GB, free: 1.391 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 2.195e-05/1.114, allocations: 4 kB / 1.124 GB, free: 1.387 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009122/1.115, allocations: 0.5181 MB / 1.125 GB, free: 0.8672 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 9.011e-05/1.115, allocations: 55.81 kB / 1.125 GB, free: 0.8125 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001175/1.115, allocations: 121.1 kB / 1.125 GB, free: 0.6875 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0006238/1.116, allocations: 454.5 kB / 1.125 GB, free: 248 kB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/1.116, allocations: 0 / 1.125 GB, free: 248 kB / 0.8731 GB Notification: Performance of FrontEnd: time 3.096e-06/1.116, allocations: 0 / 1.125 GB, free: 248 kB / 0.8731 GB Notification: Performance of Transformations before backend: time 6.372e-06/1.116, allocations: 0 / 1.125 GB, free: 248 kB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0006336/1.116, allocations: 487 kB / 1.126 GB, free: 15.72 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/1.116, allocations: 12.03 kB / 1.126 GB, free: 15.71 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002928/1.117, allocations: 43.7 kB / 1.126 GB, free: 15.66 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002997/1.117, allocations: 258.5 kB / 1.126 GB, free: 15.37 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001483/1.117, allocations: 131.4 kB / 1.126 GB, free: 15.22 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.132e-05/1.117, allocations: 20 kB / 1.126 GB, free: 15.2 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004623/1.118, allocations: 298.7 kB / 1.127 GB, free: 14.87 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/1.118, allocations: 8 kB / 1.127 GB, free: 14.86 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.508e-05/1.118, allocations: 8 kB / 1.127 GB, free: 14.85 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/1.118, allocations: 8 kB / 1.127 GB, free: 14.84 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003083/1.118, allocations: 164.5 kB / 1.127 GB, free: 14.68 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001456/1.12, allocations: 1.583 MB / 1.128 GB, free: 13.01 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001003/1.12, allocations: 165.1 kB / 1.129 GB, free: 12.84 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.655e-05/1.12, allocations: 84.14 kB / 1.129 GB, free: 12.75 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 3.73e-05/1.12, allocations: 79.28 kB / 1.129 GB, free: 12.68 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.573e-05/1.12, allocations: 105.8 kB / 1.129 GB, free: 12.56 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=0): time 1.512e-06/1.12, allocations: 0 / 1.129 GB, free: 12.56 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0): time 0.0001101/1.12, allocations: 49.39 kB / 1.129 GB, free: 12.51 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.329e-05/1.12, allocations: 126.7 kB / 1.129 GB, free: 12.37 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003986/1.12, allocations: 314.5 kB / 1.129 GB, free: 12.05 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/1.12, allocations: 33.64 kB / 1.129 GB, free: 12.02 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.000155/1.121, allocations: 187.2 kB / 1.129 GB, free: 11.83 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 5.651e-06/1.121, allocations: 4 kB / 1.129 GB, free: 11.82 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.144e-05/1.121, allocations: 25.7 kB / 1.13 GB, free: 11.79 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001479/1.121, allocations: 326.8 kB / 1.13 GB, free: 11.46 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.786e-05/1.121, allocations: 35.97 kB / 1.13 GB, free: 11.43 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001798/1.121, allocations: 162.5 kB / 1.13 GB, free: 11.21 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002497/1.121, allocations: 200.9 kB / 1.13 GB, free: 10.95 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/1.121, allocations: 0 / 1.13 GB, free: 10.95 MB / 0.8887 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004129/1.122, allocations: 217.4 kB / 1.13 GB, free: 10.73 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/1.122, allocations: 15.92 kB / 1.13 GB, free: 10.72 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/1.122, allocations: 4 kB / 1.13 GB, free: 10.71 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/1.122, allocations: 4 kB / 1.13 GB, free: 10.71 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001555/1.122, allocations: 43.92 kB / 1.13 GB, free: 10.67 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/1.122, allocations: 4 kB / 1.13 GB, free: 10.66 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001624/1.122, allocations: 27.69 kB / 1.131 GB, free: 10.64 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.183e-05/1.122, allocations: 12 kB / 1.131 GB, free: 10.62 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001673/1.122, allocations: 225.1 kB / 1.131 GB, free: 10.39 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001122/1.123, allocations: 132.6 kB / 1.131 GB, free: 10.26 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.853e-05/1.123, allocations: 121.8 kB / 1.131 GB, free: 10.14 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.742e-05/1.123, allocations: 176.3 kB / 1.131 GB, free: 9.957 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.997e-05/1.123, allocations: 180.2 kB / 1.131 GB, free: 9.773 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.788e-05/1.123, allocations: 184.2 kB / 1.131 GB, free: 9.586 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003291/1.123, allocations: 485.1 kB / 1.132 GB, free: 9.055 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.345e-05/1.123, allocations: 105 kB / 1.132 GB, free: 8.945 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.416e-05/1.123, allocations: 101 kB / 1.132 GB, free: 8.84 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.152e-05/1.123, allocations: 184.3 kB / 1.132 GB, free: 8.652 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.951e-05/1.123, allocations: 180.3 kB / 1.133 GB, free: 8.469 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.177e-05/1.124, allocations: 196.2 kB / 1.133 GB, free: 8.27 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.678e-05/1.124, allocations: 176.3 kB / 1.133 GB, free: 8.09 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001486/1.124, allocations: 323.5 kB / 1.133 GB, free: 7.75 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001079/1.124, allocations: 201.9 kB / 1.133 GB, free: 7.527 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.401e-05/1.124, allocations: 188.1 kB / 1.134 GB, free: 7.336 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001245/1.124, allocations: 109 kB / 1.134 GB, free: 7.223 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.039e-05/1.124, allocations: 184.2 kB / 1.134 GB, free: 7.035 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-05/1.124, allocations: 101 kB / 1.134 GB, free: 6.93 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002367/1.124, allocations: 221.9 kB / 1.134 GB, free: 6.715 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.5e-07/1.124, allocations: 0 / 1.134 GB, free: 6.715 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0003611/1.125, allocations: 47.84 kB / 1.134 GB, free: 6.668 MB / 0.8887 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.0003389/1.125, allocations: 212.2 kB / 1.134 GB, free: 6.449 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0001989/1.125, allocations: 83.95 kB / 1.134 GB, free: 6.367 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/1.125, allocations: 0 / 1.134 GB, free: 6.367 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 1.322e-06/1.125, allocations: 3.938 kB / 1.134 GB, free: 6.363 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006208/1.126, allocations: 0.5451 MB / 1.135 GB, free: 5.812 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000687/1.127, allocations: 468.7 kB / 1.135 GB, free: 5.328 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003507/1.127, allocations: 0.7437 MB / 1.136 GB, free: 4.559 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0001422/1.127, allocations: 37.92 kB / 1.136 GB, free: 4.523 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.736e-05/1.127, allocations: 15.44 kB / 1.136 GB, free: 4.508 MB / 0.8887 GB Notification: Performance of SimCode: time 2.4e-07/1.127, allocations: 0 / 1.136 GB, free: 4.508 MB / 0.8887 GB Notification: Performance of Templates: time 0.005095/1.132, allocations: 1.734 MB / 1.138 GB, free: 2.781 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.makefile (rm -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & ./Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches