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.001829/0.001829, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002958/0.002958, allocations: 196.4 kB / 16.14 MB, free: 6.711 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.51/1.51, allocations: 222.9 MB / 239.8 MB, free: 4.602 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.452/2.452, allocations: 390.2 MB / 0.6642 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.001241, allocations: 63.91 kB / 0.8119 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8544/0.8556, allocations: 140.4 MB / 0.9489 GB, free: 9.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.2098/1.065, allocations: 168.1 MB / 1.113 GB, free: 9.465 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.00637/1.072, allocations: 5.992 MB / 1.119 GB, free: 3.457 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003074/1.072, allocations: 8 kB / 1.119 GB, free: 3.449 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0006116/1.073, allocations: 155 kB / 1.119 GB, free: 3.297 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.0002798/1.073, allocations: 79.55 kB / 1.119 GB, free: 3.219 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001191/1.074, allocations: 494.4 kB / 1.12 GB, free: 2.734 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0004642/1.075, allocations: 474.5 kB / 1.12 GB, free: 2.27 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002635/1.075, allocations: 127.6 kB / 1.12 GB, free: 2.141 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002993/1.075, allocations: 175.3 kB / 1.12 GB, free: 1.969 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002088/1.076, allocations: 147.4 kB / 1.12 GB, free: 1.824 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 2.93e-05/1.076, allocations: 16 kB / 1.121 GB, free: 1.809 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000811/1.077, allocations: 0.5181 MB / 1.121 GB, free: 1.289 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 8.945e-05/1.077, allocations: 67.8 kB / 1.121 GB, free: 1.223 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001017/1.077, allocations: 95.48 kB / 1.121 GB, free: 1.129 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0005873/1.077, allocations: 466.6 kB / 1.122 GB, free: 0.6719 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/1.077, allocations: 0 / 1.122 GB, free: 0.6719 MB / 0.8731 GB Notification: Performance of FrontEnd: time 9.72e-07/1.077, allocations: 0 / 1.122 GB, free: 0.6719 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 4.91e-06/1.077, allocations: 0 / 1.122 GB, free: 0.6719 MB / 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.0006124/1.078, allocations: 0.5224 MB / 1.122 GB, free: 104 kB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/1.078, allocations: 12.03 kB / 1.122 GB, free: 92 kB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002911/1.078, allocations: 43.7 kB / 1.122 GB, free: 48 kB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002935/1.079, allocations: 254.6 kB / 1.122 GB, free: 15.76 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001417/1.079, allocations: 131.4 kB / 1.123 GB, free: 15.61 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.431e-05/1.079, allocations: 24 kB / 1.123 GB, free: 15.58 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004618/1.079, allocations: 294.7 kB / 1.123 GB, free: 15.25 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/1.079, allocations: 3.984 kB / 1.123 GB, free: 15.25 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.43e-05/1.079, allocations: 12 kB / 1.123 GB, free: 15.24 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.318e-06/1.079, allocations: 7.984 kB / 1.123 GB, free: 15.23 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002844/1.08, allocations: 160.6 kB / 1.123 GB, free: 15.07 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00128/1.081, allocations: 1.579 MB / 1.125 GB, free: 13.41 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 7.799e-05/1.081, allocations: 177.1 kB / 1.125 GB, free: 13.22 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.15e-05/1.081, allocations: 80.14 kB / 1.125 GB, free: 13.14 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.816e-05/1.081, allocations: 75.28 kB / 1.125 GB, free: 13.07 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.218e-05/1.081, allocations: 109.8 kB / 1.125 GB, free: 12.95 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/1.081, allocations: 0 / 1.125 GB, free: 12.95 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0): time 9.122e-05/1.081, allocations: 53.36 kB / 1.125 GB, free: 12.89 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.612e-05/1.081, allocations: 134.6 kB / 1.125 GB, free: 12.75 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003545/1.082, allocations: 314.6 kB / 1.125 GB, free: 12.43 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 9.818e-06/1.082, allocations: 25.7 kB / 1.125 GB, free: 12.4 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.000122/1.082, allocations: 191.1 kB / 1.126 GB, free: 12.21 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 5.35e-06/1.082, allocations: 4 kB / 1.126 GB, free: 12.2 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.076e-05/1.082, allocations: 45.61 kB / 1.126 GB, free: 12.15 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001069/1.082, allocations: 326.8 kB / 1.126 GB, free: 11.82 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.54e-05/1.082, allocations: 39.91 kB / 1.126 GB, free: 11.79 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001532/1.082, allocations: 162.5 kB / 1.126 GB, free: 11.57 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002104/1.083, allocations: 204.8 kB / 1.126 GB, free: 11.3 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/1.083, allocations: 0 / 1.126 GB, free: 11.3 MB / 0.8887 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003896/1.083, allocations: 213.1 kB / 1.127 GB, free: 11.09 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/1.083, allocations: 11.94 kB / 1.127 GB, free: 11.08 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/1.083, allocations: 7.984 kB / 1.127 GB, free: 11.07 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/1.083, allocations: 4 kB / 1.127 GB, free: 11.07 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001512/1.083, allocations: 36.55 kB / 1.127 GB, free: 11.03 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/1.083, allocations: 11.94 kB / 1.127 GB, free: 11.02 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001788/1.083, allocations: 39.59 kB / 1.127 GB, free: 10.98 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.429e-05/1.083, allocations: 8 kB / 1.127 GB, free: 10.97 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.0001388/1.084, allocations: 221 kB / 1.127 GB, free: 10.75 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.44e-05/1.084, allocations: 124.8 kB / 1.127 GB, free: 10.62 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.495e-05/1.084, allocations: 129.8 kB / 1.127 GB, free: 10.49 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.345e-05/1.084, allocations: 180.3 kB / 1.127 GB, free: 10.3 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.755e-05/1.084, allocations: 188.2 kB / 1.128 GB, free: 10.11 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.762e-05/1.084, allocations: 180.2 kB / 1.128 GB, free: 9.93 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002864/1.084, allocations: 477.1 kB / 1.128 GB, free: 9.406 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-05/1.084, allocations: 108.9 kB / 1.128 GB, free: 9.293 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.036e-05/1.084, allocations: 101 kB / 1.128 GB, free: 9.188 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-05/1.084, allocations: 192.1 kB / 1.129 GB, free: 8.992 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-05/1.084, allocations: 176.3 kB / 1.129 GB, free: 8.812 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.614e-05/1.084, allocations: 184.2 kB / 1.129 GB, free: 8.625 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.538e-05/1.084, allocations: 180.2 kB / 1.129 GB, free: 8.441 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000143/1.085, allocations: 323.6 kB / 1.129 GB, free: 8.102 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/1.085, allocations: 205.8 kB / 1.13 GB, free: 7.875 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.718e-05/1.085, allocations: 184.2 kB / 1.13 GB, free: 7.688 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001256/1.085, allocations: 104.9 kB / 1.13 GB, free: 7.578 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.737e-05/1.085, allocations: 176.3 kB / 1.13 GB, free: 7.398 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.713e-05/1.085, allocations: 112.9 kB / 1.13 GB, free: 7.281 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002183/1.085, allocations: 221.9 kB / 1.13 GB, free: 7.066 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.2e-07/1.085, allocations: 0 / 1.13 GB, free: 7.066 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0003404/1.086, allocations: 47.94 kB / 1.13 GB, free: 7.02 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.0003864/1.086, allocations: 210.4 kB / 1.131 GB, free: 6.801 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0001942/1.086, allocations: 83.7 kB / 1.131 GB, free: 6.719 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/1.086, allocations: 1.25 kB / 1.131 GB, free: 6.719 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 1.252e-06/1.086, allocations: 0 / 1.131 GB, free: 6.719 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005206/1.087, allocations: 0.5542 MB / 1.131 GB, free: 6.156 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005834/1.087, allocations: 457.8 kB / 1.132 GB, free: 5.688 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000298/1.088, allocations: 0.7358 MB / 1.132 GB, free: 4.926 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0001425/1.088, allocations: 41.86 kB / 1.132 GB, free: 4.883 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.737e-05/1.088, allocations: 15.44 kB / 1.132 GB, free: 4.867 MB / 0.8887 GB Notification: Performance of SimCode: time 2e-07/1.088, allocations: 0 / 1.132 GB, free: 4.867 MB / 0.8887 GB Notification: Performance of Templates: time 0.004835/1.093, allocations: 1.751 MB / 1.134 GB, free: 3.125 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