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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001599/0.001599, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002136/0.002136, allocations: 190.6 kB / 16.25 MB, free: 6.637 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.466/1.466, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.878/2.878, allocations: 472.6 MB / 0.7448 GB, free: 4.863 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 69.72 kB / 0.9116 GB, free: 33.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3023/0.3037, allocations: 159.9 MB / 1.068 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.1845/0.4882, allocations: 168.1 MB / 1.232 GB, free: 2.078 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00623/0.4945, allocations: 5.949 MB / 1.238 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003129/0.4949, allocations: 8 kB / 1.238 GB, free: 12.1 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.000617/0.4955, allocations: 163 kB / 1.238 GB, free: 11.94 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003143/0.4959, allocations: 91.5 kB / 1.238 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001239/0.4971, allocations: 486.5 kB / 1.238 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0004407/0.4976, allocations: 418.7 kB / 1.239 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002611/0.4978, allocations: 131.6 kB / 1.239 GB, free: 10.83 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000292/0.4981, allocations: 195.2 kB / 1.239 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002032/0.4984, allocations: 147.4 kB / 1.239 GB, free: 10.49 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.752e-05/0.4984, allocations: 16 kB / 1.239 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006874/0.4991, allocations: 474.7 kB / 1.24 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.512e-05/0.4992, allocations: 71.81 kB / 1.24 GB, free: 9.941 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001041/0.4993, allocations: 103.5 kB / 1.24 GB, free: 9.84 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005636/0.4999, allocations: 466.7 kB / 1.24 GB, free: 9.383 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.4999, allocations: 0 / 1.24 GB, free: 9.383 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.874e-06/0.4999, allocations: 4 kB / 1.24 GB, free: 9.379 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.864e-06/0.4999, allocations: 0 / 1.24 GB, free: 9.379 MB / 0.9981 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.0006036/0.5005, allocations: 0.5145 MB / 1.241 GB, free: 8.816 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.5006, allocations: 11.97 kB / 1.241 GB, free: 8.805 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003005/0.5009, allocations: 51.69 kB / 1.241 GB, free: 8.754 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002811/0.5012, allocations: 250.6 kB / 1.241 GB, free: 8.469 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001323/0.5013, allocations: 131.4 kB / 1.241 GB, free: 8.316 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.065e-05/0.5014, allocations: 20 kB / 1.241 GB, free: 8.297 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004716/0.5018, allocations: 294.8 kB / 1.242 GB, free: 7.973 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.5019, allocations: 11.92 kB / 1.242 GB, free: 7.961 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.428e-05/0.5019, allocations: 8 kB / 1.242 GB, free: 7.953 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.5019, allocations: 8 kB / 1.242 GB, free: 7.945 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002899/0.5022, allocations: 152.6 kB / 1.242 GB, free: 7.797 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001311/0.5035, allocations: 1.587 MB / 1.243 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.08e-05/0.5036, allocations: 169.1 kB / 1.243 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.072e-05/0.5037, allocations: 84.08 kB / 1.243 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.594e-05/0.5037, allocations: 83.28 kB / 1.244 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.055e-05/0.5037, allocations: 109.8 kB / 1.244 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.5038, allocations: 0 / 1.244 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 9.123e-05/0.5038, allocations: 45.45 kB / 1.244 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.718e-05/0.5039, allocations: 130.6 kB / 1.244 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003459/0.5043, allocations: 314.5 kB / 1.244 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.2e-05/0.5043, allocations: 25.7 kB / 1.244 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.5044, allocations: 191.2 kB / 1.244 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.791e-06/0.5044, allocations: 11.94 kB / 1.244 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.087e-05/0.5045, allocations: 37.7 kB / 1.244 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.5046, allocations: 330.8 kB / 1.245 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.333e-05/0.5047, allocations: 39.91 kB / 1.245 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001633/0.5049, allocations: 159 kB / 1.245 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002185/0.5051, allocations: 196.9 kB / 1.245 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.5051, allocations: 4 kB / 1.245 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004274/0.5056, allocations: 225.2 kB / 1.245 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/0.5056, allocations: 11.94 kB / 1.245 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.5056, allocations: 4 kB / 1.245 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/0.5056, allocations: 8 kB / 1.245 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001618/0.5058, allocations: 35.92 kB / 1.245 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/0.5058, allocations: 7.938 kB / 1.245 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000174/0.506, allocations: 35.62 kB / 1.245 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.523e-05/0.506, allocations: 8.344 kB / 1.245 GB, free: 3.695 MB / 0.9981 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.0001421/0.5062, allocations: 221 kB / 1.246 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.46e-05/0.5063, allocations: 124.6 kB / 1.246 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.078e-05/0.5063, allocations: 121.8 kB / 1.246 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.279e-05/0.5064, allocations: 180.2 kB / 1.246 GB, free: 3.035 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.748e-05/0.5065, allocations: 188.2 kB / 1.246 GB, free: 2.844 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-05/0.5065, allocations: 184.2 kB / 1.246 GB, free: 2.656 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003077/0.5068, allocations: 481.2 kB / 1.247 GB, free: 2.129 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.071e-05/0.5069, allocations: 104.9 kB / 1.247 GB, free: 2.02 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.206e-05/0.5069, allocations: 101 kB / 1.247 GB, free: 1.914 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.728e-05/0.507, allocations: 188.2 kB / 1.247 GB, free: 1.723 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-05/0.5071, allocations: 180.2 kB / 1.247 GB, free: 1.539 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.584e-05/0.5072, allocations: 184.2 kB / 1.248 GB, free: 1.352 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.524e-05/0.5072, allocations: 180.4 kB / 1.248 GB, free: 1.168 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001474/0.5074, allocations: 319.7 kB / 1.248 GB, free: 0.832 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001085/0.5075, allocations: 205.8 kB / 1.248 GB, free: 0.6055 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.892e-05/0.5076, allocations: 188.2 kB / 1.248 GB, free: 424 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001214/0.5077, allocations: 108.9 kB / 1.249 GB, free: 308 kB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.657e-05/0.5078, allocations: 176.3 kB / 1.249 GB, free: 124 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.921e-05/0.5078, allocations: 101 kB / 1.249 GB, free: 16 kB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.5757/1.084, allocations: 218 kB / 1.249 GB, free: 187.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.423e-06/1.084, allocations: 0.75 kB / 1.249 GB, free: 187.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005395/1.084, allocations: 58.03 kB / 1.249 GB, free: 187.8 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.0003877/1.085, allocations: 212.4 kB / 1.249 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000242/1.085, allocations: 85.92 kB / 1.249 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/1.085, allocations: 5.344 kB / 1.249 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.745e-06/1.085, allocations: 0.875 kB / 1.249 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004474/1.085, allocations: 481.4 kB / 1.25 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006038/1.086, allocations: 459 kB / 1.25 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002129/1.086, allocations: 0.7392 MB / 1.251 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001625/1.086, allocations: 38.45 kB / 1.251 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.351e-05/1.086, allocations: 17.41 kB / 1.251 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of SimCode: time 6.51e-07/1.086, allocations: 0 / 1.251 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.005499/1.092, allocations: 1.819 MB / 1.253 GB, free: 186 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