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.001451/0.001451, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001578/0.001578, allocations: 183 kB / 17.34 MB, free: 5.766 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.393/1.393, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.252/2.252, allocations: 390.3 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 55.91 kB / 0.9515 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7675/0.7688, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.2174/0.9863, allocations: 170.3 MB / 1.255 GB, free: 3.359 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00736/0.9937, allocations: 5.995 MB / 1.261 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005027/0.9942, allocations: 15.88 kB / 1.261 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008127/0.9951, allocations: 186.8 kB / 1.261 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0005119/0.9956, allocations: 91.38 kB / 1.261 GB, free: 13.06 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001547/0.9972, allocations: 0.5177 MB / 1.262 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0006996/0.9979, allocations: 426.6 kB / 1.262 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003295/0.9983, allocations: 127.6 kB / 1.262 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004311/0.9987, allocations: 195.3 kB / 1.262 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003128/0.999, allocations: 151.4 kB / 1.262 GB, free: 11.65 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.928e-05/0.9991, allocations: 16 kB / 1.262 GB, free: 11.63 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008646/1, allocations: 454.8 kB / 1.263 GB, free: 11.19 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001071/1, allocations: 67.81 kB / 1.263 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001181/1, allocations: 107.5 kB / 1.263 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007818/1.001, allocations: 456.4 kB / 1.264 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/1.001, allocations: 0 / 1.264 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.382e-06/1.001, allocations: 0 / 1.264 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.365e-06/1.001, allocations: 4 kB / 1.264 GB, free: 10.57 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.0006537/1.002, allocations: 0.5146 MB / 1.264 GB, free: 10 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/1.002, allocations: 12.03 kB / 1.264 GB, free: 9.992 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002988/1.002, allocations: 39.7 kB / 1.264 GB, free: 9.953 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000406/1.002, allocations: 268.9 kB / 1.264 GB, free: 9.652 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001412/1.003, allocations: 135.4 kB / 1.264 GB, free: 9.496 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.282e-05/1.003, allocations: 24 kB / 1.264 GB, free: 9.473 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004464/1.003, allocations: 294.8 kB / 1.265 GB, free: 9.145 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/1.003, allocations: 0 / 1.265 GB, free: 9.145 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.503e-05/1.003, allocations: 8 kB / 1.265 GB, free: 9.137 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/1.003, allocations: 4 kB / 1.265 GB, free: 9.133 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003086/1.003, allocations: 164.6 kB / 1.265 GB, free: 8.973 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001458/1.005, allocations: 1.587 MB / 1.266 GB, free: 7.297 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.31e-05/1.005, allocations: 169.1 kB / 1.267 GB, free: 7.121 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.156e-05/1.005, allocations: 80.14 kB / 1.267 GB, free: 7.039 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.756e-05/1.005, allocations: 75.28 kB / 1.267 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.465e-05/1.005, allocations: 113.8 kB / 1.267 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/1.005, allocations: 0 / 1.267 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 0.0001071/1.005, allocations: 49.45 kB / 1.267 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.659e-05/1.005, allocations: 126.7 kB / 1.267 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004108/1.006, allocations: 314.5 kB / 1.267 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/1.006, allocations: 25.7 kB / 1.267 GB, free: 6.305 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001293/1.006, allocations: 187.2 kB / 1.268 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.108e-06/1.006, allocations: 4 kB / 1.268 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.249e-05/1.006, allocations: 45.61 kB / 1.268 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001697/1.006, allocations: 330.8 kB / 1.268 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001015/1.006, allocations: 39.97 kB / 1.268 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001661/1.006, allocations: 159.3 kB / 1.268 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002267/1.007, allocations: 196.9 kB / 1.268 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/1.007, allocations: 4 kB / 1.268 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004118/1.007, allocations: 225.5 kB / 1.269 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/1.007, allocations: 11.88 kB / 1.269 GB, free: 4.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/1.007, allocations: 8 kB / 1.269 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/1.007, allocations: 4 kB / 1.269 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001534/1.007, allocations: 35.92 kB / 1.269 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/1.007, allocations: 11.94 kB / 1.269 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001757/1.008, allocations: 35.59 kB / 1.269 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.6e-05/1.008, allocations: 11.98 kB / 1.269 GB, free: 4.875 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.00014/1.008, allocations: 225.1 kB / 1.269 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.049e-05/1.008, allocations: 128.8 kB / 1.269 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.005e-05/1.008, allocations: 117.9 kB / 1.269 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.235e-05/1.008, allocations: 184.2 kB / 1.269 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.606e-05/1.008, allocations: 176.3 kB / 1.269 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.632e-05/1.008, allocations: 180.2 kB / 1.27 GB, free: 3.844 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002992/1.008, allocations: 485.1 kB / 1.27 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.551e-05/1.008, allocations: 105 kB / 1.27 GB, free: 3.203 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.051e-05/1.008, allocations: 104.9 kB / 1.27 GB, free: 3.094 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.759e-05/1.009, allocations: 184.2 kB / 1.27 GB, free: 2.906 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.576e-05/1.009, allocations: 180.2 kB / 1.271 GB, free: 2.723 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.421e-05/1.009, allocations: 180.3 kB / 1.271 GB, free: 2.539 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-05/1.009, allocations: 184.3 kB / 1.271 GB, free: 2.352 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001453/1.009, allocations: 323.5 kB / 1.271 GB, free: 2.012 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001054/1.009, allocations: 206.1 kB / 1.271 GB, free: 1.785 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.814e-05/1.009, allocations: 184.2 kB / 1.272 GB, free: 1.598 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/1.009, allocations: 109 kB / 1.272 GB, free: 1.484 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.219e-05/1.009, allocations: 184.2 kB / 1.272 GB, free: 1.297 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.317e-05/1.009, allocations: 105 kB / 1.272 GB, free: 1.188 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002433/1.01, allocations: 221.9 kB / 1.272 GB, free: 0.9727 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.81e-07/1.01, allocations: 0 / 1.272 GB, free: 0.9727 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003727/1.01, allocations: 55.84 kB / 1.272 GB, free: 0.918 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.0003023/1.01, allocations: 206.5 kB / 1.272 GB, free: 0.707 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002106/1.01, allocations: 88.22 kB / 1.273 GB, free: 0.6211 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/1.01, allocations: 0 / 1.273 GB, free: 0.6211 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 5.28e-06/1.011, allocations: 3.938 kB / 1.273 GB, free: 0.6172 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004937/1.011, allocations: 488.9 kB / 1.273 GB, free: 136 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006251/1.012, allocations: 418.5 kB / 1.273 GB, free: 15.69 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003062/1.012, allocations: 0.7359 MB / 1.274 GB, free: 14.93 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.178e-05/1.012, allocations: 19.44 kB / 1.274 GB, free: 14.91 MB / 1.014 GB Notification: Performance of SimCode: time 2e-07/1.012, allocations: 0 / 1.274 GB, free: 14.91 MB / 1.014 GB Notification: Performance of Templates: time 0.005315/1.017, allocations: 2.845 MB / 1.277 GB, free: 12.06 MB / 1.014 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/jenkins1/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