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.0125/0.0125, allocations: 98.11 kB / 15.73 MB, free: 6.055 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.002571/0.002571, allocations: 193.5 kB / 16.68 MB, free: 5.969 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.512/1.512, allocations: 222.9 MB / 240.4 MB, free: 15.09 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.286/2.286, allocations: 390.2 MB / 0.6648 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 59.91 kB / 0.9508 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.148/1.149, allocations: 140.4 MB / 1.088 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.2425/1.392, allocations: 170.3 MB / 1.254 GB, free: 3.406 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.007016/1.399, allocations: 6.007 MB / 1.26 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000321/1.399, allocations: 11.94 kB / 1.26 GB, free: 13.37 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006739/1.4, allocations: 174.8 kB / 1.26 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003769/1.4, allocations: 99.36 kB / 1.26 GB, free: 13.1 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001269/1.402, allocations: 0.5294 MB / 1.261 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0004638/1.402, allocations: 418.7 kB / 1.261 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002821/1.402, allocations: 147.1 kB / 1.261 GB, free: 12.01 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003042/1.403, allocations: 191.3 kB / 1.262 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002113/1.403, allocations: 143.4 kB / 1.262 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.003e-05/1.403, allocations: 20 kB / 1.262 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007451/1.404, allocations: 462.8 kB / 1.262 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 9.933e-05/1.404, allocations: 67.81 kB / 1.262 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001098/1.404, allocations: 107.5 kB / 1.262 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006498/1.405, allocations: 455.4 kB / 1.263 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/1.405, allocations: 0 / 1.263 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.424e-06/1.405, allocations: 0 / 1.263 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.686e-06/1.405, allocations: 0 / 1.263 GB, free: 10.59 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.0006735/1.405, allocations: 0.5296 MB / 1.263 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/1.405, allocations: 12.03 kB / 1.263 GB, free: 10 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000286/1.406, allocations: 39.84 kB / 1.263 GB, free: 9.961 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004573/1.406, allocations: 266.6 kB / 1.264 GB, free: 9.66 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001393/1.406, allocations: 131.4 kB / 1.264 GB, free: 9.508 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.477e-05/1.406, allocations: 24 kB / 1.264 GB, free: 9.484 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004693/1.407, allocations: 294.8 kB / 1.264 GB, free: 9.156 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/1.407, allocations: 3.938 kB / 1.264 GB, free: 9.152 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.642e-05/1.407, allocations: 8 kB / 1.264 GB, free: 9.145 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/1.407, allocations: 4 kB / 1.264 GB, free: 9.141 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003014/1.407, allocations: 164.6 kB / 1.264 GB, free: 8.98 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001424/1.409, allocations: 1.583 MB / 1.266 GB, free: 7.309 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001134/1.409, allocations: 169.1 kB / 1.266 GB, free: 7.133 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.884e-05/1.409, allocations: 84.14 kB / 1.266 GB, free: 7.047 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.76e-05/1.409, allocations: 83.2 kB / 1.266 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.264e-05/1.409, allocations: 105.8 kB / 1.266 GB, free: 6.852 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 1.283e-06/1.409, allocations: 0 / 1.266 GB, free: 6.852 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 0.0001275/1.409, allocations: 53.5 kB / 1.266 GB, free: 6.793 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.825e-05/1.409, allocations: 126.7 kB / 1.266 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000399/1.41, allocations: 306.7 kB / 1.267 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/1.41, allocations: 29.7 kB / 1.267 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001505/1.41, allocations: 199.6 kB / 1.267 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.178e-06/1.41, allocations: 0 / 1.267 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.375e-05/1.41, allocations: 45.66 kB / 1.267 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001485/1.41, allocations: 330.8 kB / 1.267 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.074e-05/1.41, allocations: 43.91 kB / 1.267 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001544/1.41, allocations: 161.1 kB / 1.267 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002242/1.41, allocations: 196.9 kB / 1.268 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/1.41, allocations: 4 kB / 1.268 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003881/1.411, allocations: 217.3 kB / 1.268 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/1.411, allocations: 7.938 kB / 1.268 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/1.411, allocations: 8 kB / 1.268 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/1.411, allocations: 4 kB / 1.268 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001592/1.411, allocations: 39.91 kB / 1.268 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.467e-05/1.411, allocations: 15.92 kB / 1.268 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001612/1.411, allocations: 27.78 kB / 1.268 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.149e-05/1.411, allocations: 12.41 kB / 1.268 GB, free: 4.879 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.0001486/1.411, allocations: 229 kB / 1.268 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.634e-05/1.412, allocations: 128.8 kB / 1.268 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.126e-05/1.412, allocations: 121.8 kB / 1.268 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.656e-05/1.412, allocations: 180.2 kB / 1.269 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.908e-05/1.412, allocations: 176.3 kB / 1.269 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.009e-05/1.412, allocations: 188.2 kB / 1.269 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003075/1.412, allocations: 485.1 kB / 1.269 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.722e-05/1.412, allocations: 105 kB / 1.27 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.401e-05/1.412, allocations: 104.9 kB / 1.27 GB, free: 3.086 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.119e-05/1.412, allocations: 180.2 kB / 1.27 GB, free: 2.902 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.661e-05/1.412, allocations: 188.2 kB / 1.27 GB, free: 2.711 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.712e-05/1.412, allocations: 180.3 kB / 1.27 GB, free: 2.527 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.144e-05/1.413, allocations: 188.2 kB / 1.27 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001581/1.413, allocations: 311.7 kB / 1.271 GB, free: 2.008 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001321/1.413, allocations: 210.1 kB / 1.271 GB, free: 1.777 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/1.413, allocations: 188.2 kB / 1.271 GB, free: 1.586 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001414/1.413, allocations: 109 kB / 1.271 GB, free: 1.473 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.501e-05/1.413, allocations: 184.2 kB / 1.271 GB, free: 1.285 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.265e-05/1.413, allocations: 105 kB / 1.271 GB, free: 1.176 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002173/1.413, allocations: 213.9 kB / 1.272 GB, free: 0.9688 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.413, allocations: 4 kB / 1.272 GB, free: 0.9648 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003586/1.414, allocations: 55.89 kB / 1.272 GB, free: 0.9102 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.0003029/1.414, allocations: 214.4 kB / 1.272 GB, free: 0.6914 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001854/1.414, allocations: 87.7 kB / 1.272 GB, free: 0.6055 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/1.414, allocations: 0 / 1.272 GB, free: 0.6055 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.613e-06/1.414, allocations: 0 / 1.272 GB, free: 0.6055 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005199/1.415, allocations: 485.4 kB / 1.272 GB, free: 128 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005658/1.415, allocations: 388.5 kB / 1.273 GB, free: 15.72 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003395/1.416, allocations: 0.7398 MB / 1.273 GB, free: 14.95 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001135/1.416, allocations: 33.94 kB / 1.274 GB, free: 14.92 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.877e-05/1.416, allocations: 19.42 kB / 1.274 GB, free: 14.9 MB / 1.014 GB Notification: Performance of SimCode: time 2e-07/1.416, allocations: 0 / 1.274 GB, free: 14.9 MB / 1.014 GB Notification: Performance of Templates: time 0.004998/1.421, allocations: 1.861 MB / 1.275 GB, free: 13.05 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/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