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.000872/0.0008719, allocations: 98.27 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.007414/0.007414, allocations: 172.9 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.394/1.394, allocations: 223.3 MB / 240.3 MB, free: 5.262 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.747/2.747, allocations: 462.7 MB / 0.7364 GB, free: 248 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003704/0.0003704, allocations: 13.36 kB / 0.9028 GB, free: 36.79 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3723/0.3727, allocations: 159.6 MB / 1.059 GB, free: 5.438 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.21/0.5828, allocations: 165.9 MB / 1.221 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.008179/0.591, allocations: 5.906 MB / 1.226 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004314/0.5915, allocations: 8 kB / 1.226 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0008066/0.5923, allocations: 155 kB / 1.227 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004994/0.5928, allocations: 87.5 kB / 1.227 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001492/0.5943, allocations: 490.5 kB / 1.227 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0006304/0.595, allocations: 470.6 kB / 1.228 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003143/0.5953, allocations: 135.6 kB / 1.228 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003302/0.5956, allocations: 163.3 kB / 1.228 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00022/0.5959, allocations: 131.4 kB / 1.228 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.03e-05/0.5959, allocations: 8 kB / 1.228 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008518/0.5968, allocations: 0.5103 MB / 1.229 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.283e-05/0.5969, allocations: 59.8 kB / 1.229 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001078/0.597, allocations: 113.2 kB / 1.229 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005911/0.5976, allocations: 458.6 kB / 1.229 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.5976, allocations: 3.938 kB / 1.229 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.984e-06/0.5976, allocations: 0 / 1.229 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.5976, allocations: 4 kB / 1.229 GB, free: 6.25 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.000611/0.5982, allocations: 483 kB / 1.23 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.5983, allocations: 12.03 kB / 1.23 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002916/0.5986, allocations: 39.7 kB / 1.23 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003033/0.5989, allocations: 252.8 kB / 1.23 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000154/0.599, allocations: 135.4 kB / 1.23 GB, free: 5.234 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.342e-05/0.5991, allocations: 24 kB / 1.23 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004662/0.5996, allocations: 294.7 kB / 1.23 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.5996, allocations: 8 kB / 1.23 GB, free: 4.879 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.221e-05/0.5996, allocations: 4 kB / 1.23 GB, free: 4.875 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/0.5996, allocations: 8 kB / 1.23 GB, free: 4.867 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003161/0.6, allocations: 160.6 kB / 1.23 GB, free: 4.711 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001461/0.6014, allocations: 1.575 MB / 1.232 GB, free: 3.047 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001357/0.6016, allocations: 177.1 kB / 1.232 GB, free: 2.863 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.882e-05/0.6016, allocations: 84.14 kB / 1.232 GB, free: 2.777 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.205e-05/0.6017, allocations: 75.28 kB / 1.232 GB, free: 2.703 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001248/0.6018, allocations: 105.8 kB / 1.232 GB, free: 2.59 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.713e-06/0.6018, allocations: 0 / 1.232 GB, free: 2.59 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 9.299e-05/0.6019, allocations: 49.45 kB / 1.232 GB, free: 2.535 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.281e-05/0.602, allocations: 130.6 kB / 1.233 GB, free: 2.395 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003654/0.6024, allocations: 314.5 kB / 1.233 GB, free: 2.082 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.184e-05/0.6024, allocations: 29.7 kB / 1.233 GB, free: 2.047 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001309/0.6025, allocations: 191.1 kB / 1.233 GB, free: 1.855 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.33e-06/0.6025, allocations: 7.938 kB / 1.233 GB, free: 1.848 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.748e-05/0.6026, allocations: 25.7 kB / 1.233 GB, free: 1.816 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.6027, allocations: 326.8 kB / 1.233 GB, free: 1.488 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.291e-05/0.6028, allocations: 39.97 kB / 1.233 GB, free: 1.449 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001659/0.603, allocations: 159.4 kB / 1.234 GB, free: 1.234 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002266/0.6032, allocations: 200.8 kB / 1.234 GB, free: 0.9766 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.6032, allocations: 0 / 1.234 GB, free: 0.9766 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004067/0.6036, allocations: 209.1 kB / 1.234 GB, free: 0.7656 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.6037, allocations: 7.938 kB / 1.234 GB, free: 0.7578 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.6037, allocations: 8.625 kB / 1.234 GB, free: 0.75 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.6037, allocations: 4 kB / 1.234 GB, free: 0.7461 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001579/0.6039, allocations: 47.91 kB / 1.234 GB, free: 0.6992 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/0.6039, allocations: 11.94 kB / 1.234 GB, free: 0.6875 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001649/0.6041, allocations: 35.61 kB / 1.234 GB, free: 0.6523 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.374e-05/0.6041, allocations: 12 kB / 1.234 GB, free: 0.6406 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.0001484/0.6042, allocations: 218.6 kB / 1.234 GB, free: 428 kB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.3e-05/0.6043, allocations: 124.6 kB / 1.234 GB, free: 296 kB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.326e-05/0.6044, allocations: 129.7 kB / 1.235 GB, free: 160 kB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-05/0.6045, allocations: 180.3 kB / 1.235 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.506e-05/0.6046, allocations: 180.2 kB / 1.235 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.771e-05/0.6046, allocations: 184.3 kB / 1.235 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000312/0.6049, allocations: 481.1 kB / 1.236 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.654e-05/0.605, allocations: 108.9 kB / 1.236 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.132e-05/0.605, allocations: 105 kB / 1.236 GB, free: 14.85 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.884e-05/0.6051, allocations: 184.1 kB / 1.236 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.639e-05/0.6052, allocations: 176.3 kB / 1.236 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.36e-05/0.6052, allocations: 184.3 kB / 1.236 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.826e-05/0.6053, allocations: 184.4 kB / 1.236 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001588/0.6055, allocations: 323.6 kB / 1.237 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001095/0.6056, allocations: 205.9 kB / 1.237 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.624e-05/0.6057, allocations: 184.2 kB / 1.237 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001182/0.6058, allocations: 108.9 kB / 1.237 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.909e-05/0.6059, allocations: 176.3 kB / 1.237 GB, free: 13.06 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.061e-05/0.6059, allocations: 112.9 kB / 1.238 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002372/0.6062, allocations: 217.9 kB / 1.238 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.723e-06/0.6062, allocations: 0 / 1.238 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003684/0.6066, allocations: 59.78 kB / 1.238 GB, free: 12.67 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.000326/0.6069, allocations: 206.4 kB / 1.238 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001907/0.6071, allocations: 84.64 kB / 1.238 GB, free: 12.38 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.6071, allocations: 384 / 1.238 GB, free: 12.38 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.402e-06/0.6071, allocations: 4 kB / 1.238 GB, free: 12.38 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005317/0.6077, allocations: 0.5488 MB / 1.239 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005984/0.6083, allocations: 469 kB / 1.239 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003169/0.6086, allocations: 0.7398 MB / 1.24 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001581/0.6088, allocations: 33.94 kB / 1.24 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.924e-05/0.6088, allocations: 15.44 kB / 1.24 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of SimCode: time 2.51e-07/0.6088, allocations: 4 kB / 1.24 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of Templates: time 0.004961/0.6138, allocations: 1.743 MB / 1.242 GB, free: 8.785 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