Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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: 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_latest_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_latest_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.0009846/0.0009846, allocations: 98.03 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.007499/0.007499, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.458/1.458, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.872/2.872, allocations: 462.7 MB / 0.7364 GB, free: 252 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003732/0.0003733, allocations: 16.75 kB / 0.9028 GB, free: 36.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3881/0.3885, allocations: 159.6 MB / 1.059 GB, free: 5.422 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.2076/0.5961, allocations: 165.9 MB / 1.221 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.007219/0.6034, allocations: 5.902 MB / 1.226 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003871/0.6038, allocations: 11.94 kB / 1.226 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006263/0.6045, allocations: 151.1 kB / 1.227 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003282/0.6048, allocations: 87.55 kB / 1.227 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00117/0.606, allocations: 490.5 kB / 1.227 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005883/0.6066, allocations: 474.5 kB / 1.228 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002945/0.6069, allocations: 127.6 kB / 1.228 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003044/0.6072, allocations: 159.3 kB / 1.228 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002124/0.6074, allocations: 135.4 kB / 1.228 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.249e-05/0.6075, allocations: 8 kB / 1.228 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008707/0.6084, allocations: 0.5142 MB / 1.229 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.961e-05/0.6084, allocations: 55.83 kB / 1.229 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001146/0.6086, allocations: 113.2 kB / 1.229 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000587/0.6092, allocations: 458.6 kB / 1.229 GB, free: 6.234 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.6092, allocations: 0 / 1.229 GB, free: 6.234 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.854e-06/0.6092, allocations: 0 / 1.229 GB, free: 6.234 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.6092, allocations: 0 / 1.229 GB, free: 6.234 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0005813/0.6098, allocations: 487 kB / 1.23 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.6098, allocations: 8.031 kB / 1.23 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002953/0.6101, allocations: 43.7 kB / 1.23 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003001/0.6104, allocations: 246.6 kB / 1.23 GB, free: 5.379 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001303/0.6106, allocations: 139.4 kB / 1.23 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.271e-05/0.6106, allocations: 20 kB / 1.23 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004516/0.6111, allocations: 294.8 kB / 1.23 GB, free: 4.871 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.527e-06/0.6111, allocations: 0 / 1.23 GB, free: 4.871 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.138e-05/0.6111, allocations: 12 kB / 1.23 GB, free: 4.859 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/0.6112, allocations: 8 kB / 1.23 GB, free: 4.852 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003629/0.6115, allocations: 160.6 kB / 1.23 GB, free: 4.695 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001404/0.6129, allocations: 1.587 MB / 1.232 GB, free: 3.02 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.557e-05/0.613, allocations: 177.1 kB / 1.232 GB, free: 2.836 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.254e-05/0.6131, allocations: 80.14 kB / 1.232 GB, free: 2.754 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.604e-05/0.6131, allocations: 75.28 kB / 1.232 GB, free: 2.68 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.562e-05/0.6132, allocations: 117.8 kB / 1.232 GB, free: 2.555 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.373e-06/0.6132, allocations: 0 / 1.232 GB, free: 2.555 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 8.889e-05/0.6133, allocations: 45.45 kB / 1.232 GB, free: 2.504 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.527e-05/0.6133, allocations: 130.7 kB / 1.233 GB, free: 2.363 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004479/0.6138, allocations: 310.5 kB / 1.233 GB, free: 2.055 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.6138, allocations: 25.7 kB / 1.233 GB, free: 2.023 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001614/0.614, allocations: 191.2 kB / 1.233 GB, free: 1.832 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.462e-06/0.614, allocations: 3.984 kB / 1.233 GB, free: 1.828 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.861e-05/0.614, allocations: 29.66 kB / 1.233 GB, free: 1.793 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002042/0.6142, allocations: 330.8 kB / 1.233 GB, free: 1.461 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.661e-05/0.6143, allocations: 39.97 kB / 1.233 GB, free: 1.422 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002009/0.6145, allocations: 158.8 kB / 1.234 GB, free: 1.207 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002235/0.6148, allocations: 192.9 kB / 1.234 GB, free: 0.957 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.98e-06/0.6148, allocations: 4 kB / 1.234 GB, free: 0.9531 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004026/0.6152, allocations: 217 kB / 1.234 GB, free: 0.7344 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.6152, allocations: 7.938 kB / 1.234 GB, free: 0.7266 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.6152, allocations: 4 kB / 1.234 GB, free: 0.7227 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.6153, allocations: 8.625 kB / 1.234 GB, free: 0.7148 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001606/0.6154, allocations: 43.92 kB / 1.234 GB, free: 0.6719 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.2e-05/0.6154, allocations: 8 kB / 1.234 GB, free: 0.6641 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001628/0.6156, allocations: 31.56 kB / 1.234 GB, free: 0.6328 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.657e-05/0.6156, allocations: 19.98 kB / 1.234 GB, free: 0.6133 MB / 0.9825 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.0001458/0.6158, allocations: 209.1 kB / 1.234 GB, free: 408 kB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.921e-05/0.6159, allocations: 132.6 kB / 1.234 GB, free: 268 kB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.772e-05/0.6159, allocations: 113.9 kB / 1.235 GB, free: 148 kB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.392e-05/0.616, allocations: 192.2 kB / 1.235 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.779e-05/0.6161, allocations: 176.3 kB / 1.235 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.036e-05/0.6162, allocations: 184.2 kB / 1.235 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003359/0.6165, allocations: 489.1 kB / 1.236 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.722e-05/0.6166, allocations: 101 kB / 1.236 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.157e-05/0.6166, allocations: 108.9 kB / 1.236 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.207e-05/0.6167, allocations: 188.2 kB / 1.236 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.772e-05/0.6168, allocations: 180.2 kB / 1.236 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001009/0.6169, allocations: 180.3 kB / 1.236 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.728e-05/0.617, allocations: 180.5 kB / 1.236 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002699/0.6172, allocations: 327.6 kB / 1.237 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001726/0.6174, allocations: 205.8 kB / 1.237 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.033e-05/0.6175, allocations: 184.2 kB / 1.237 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001333/0.6176, allocations: 101 kB / 1.237 GB, free: 13.22 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.483e-05/0.6178, allocations: 184.1 kB / 1.237 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.945e-05/0.6178, allocations: 109 kB / 1.238 GB, free: 12.92 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000259/0.6181, allocations: 217.9 kB / 1.238 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6181, allocations: 0 / 1.238 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003835/0.6185, allocations: 59.84 kB / 1.238 GB, free: 12.65 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.0003378/0.6188, allocations: 206.4 kB / 1.238 GB, free: 12.44 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001989/0.619, allocations: 80.84 kB / 1.238 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/0.619, allocations: 0 / 1.238 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.316e-06/0.619, allocations: 4.125 kB / 1.238 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005685/0.6196, allocations: 0.5502 MB / 1.239 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007039/0.6203, allocations: 469.1 kB / 1.239 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004307/0.6208, allocations: 0.732 MB / 1.24 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001481/0.6209, allocations: 37.94 kB / 1.24 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.752e-05/0.621, allocations: 15.44 kB / 1.24 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of SimCode: time 2.9e-07/0.621, allocations: 0 / 1.24 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of Templates: time 0.004877/0.6259, allocations: 1.748 MB / 1.242 GB, free: 8.766 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.makefile (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & ./Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches