Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001253/0.001253, allocations: 101.2 kB / 15.99 MB, free: 6.367 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.001238/0.001238, allocations: 195.6 kB / 16.91 MB, free: 6.195 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.349/1.349, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.564/2.564, allocations: 469.8 MB / 0.7427 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001899/0.001899, allocations: 70.7 kB / 0.9087 GB, free: 14.26 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3385/0.3404, allocations: 159.1 MB / 1.064 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.7366/1.077, allocations: 168 MB / 1.228 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.006951/1.084, allocations: 5.937 MB / 1.234 GB, free: 10.78 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003664/1.084, allocations: 9.312 kB / 1.234 GB, free: 10.78 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0006614/1.085, allocations: 162.4 kB / 1.234 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0003299/1.085, allocations: 81.72 kB / 1.234 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001315/1.087, allocations: 492.3 kB / 1.235 GB, free: 10.22 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.000497/1.087, allocations: 420.5 kB / 1.235 GB, free: 9.98 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002918/1.088, allocations: 136.2 kB / 1.235 GB, free: 9.898 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003195/1.088, allocations: 194.2 kB / 1.235 GB, free: 9.734 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002202/1.088, allocations: 147.4 kB / 1.236 GB, free: 9.59 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.015e-05/1.088, allocations: 16 kB / 1.236 GB, free: 9.574 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000766/1.089, allocations: 470.6 kB / 1.236 GB, free: 9.113 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 9.781e-05/1.089, allocations: 71.81 kB / 1.236 GB, free: 9.043 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001208/1.089, allocations: 111.4 kB / 1.236 GB, free: 8.934 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0004494/1.09, allocations: 323.3 kB / 1.237 GB, free: 8.617 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/1.09, allocations: 0 / 1.237 GB, free: 8.617 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.754e-06/1.09, allocations: 3.938 kB / 1.237 GB, free: 8.613 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.593e-06/1.09, allocations: 0 / 1.237 GB, free: 8.613 MB / 0.9512 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.0006696/1.09, allocations: 0.523 MB / 1.237 GB, free: 8.043 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/1.09, allocations: 8.031 kB / 1.237 GB, free: 8.035 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002806/1.091, allocations: 47.69 kB / 1.237 GB, free: 7.988 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000335/1.091, allocations: 250.6 kB / 1.237 GB, free: 7.707 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001492/1.091, allocations: 135.4 kB / 1.237 GB, free: 7.551 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.641e-05/1.091, allocations: 24 kB / 1.238 GB, free: 7.527 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004909/1.092, allocations: 294.8 kB / 1.238 GB, free: 7.203 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/1.092, allocations: 3.938 kB / 1.238 GB, free: 7.199 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.689e-05/1.092, allocations: 12 kB / 1.238 GB, free: 7.188 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/1.092, allocations: 8 kB / 1.238 GB, free: 7.18 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002992/1.092, allocations: 148.6 kB / 1.238 GB, free: 7.035 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001478/1.094, allocations: 1.591 MB / 1.24 GB, free: 5.355 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 9.752e-05/1.094, allocations: 169.1 kB / 1.24 GB, free: 5.18 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.667e-05/1.094, allocations: 80.14 kB / 1.24 GB, free: 5.098 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.156e-05/1.094, allocations: 75.28 kB / 1.24 GB, free: 5.023 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.578e-05/1.094, allocations: 109.8 kB / 1.24 GB, free: 4.906 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/1.094, allocations: 4 kB / 1.24 GB, free: 4.902 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 9.486e-05/1.094, allocations: 45.45 kB / 1.24 GB, free: 4.852 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.059e-05/1.094, allocations: 130.6 kB / 1.24 GB, free: 4.711 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003704/1.094, allocations: 314.5 kB / 1.24 GB, free: 4.395 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/1.094, allocations: 25.7 kB / 1.24 GB, free: 4.363 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001462/1.095, allocations: 191.2 kB / 1.241 GB, free: 4.172 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.248e-06/1.095, allocations: 0 / 1.241 GB, free: 4.172 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.979e-05/1.095, allocations: 53.61 kB / 1.241 GB, free: 4.113 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001521/1.095, allocations: 326.8 kB / 1.241 GB, free: 3.785 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.536e-05/1.095, allocations: 35.97 kB / 1.241 GB, free: 3.75 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001817/1.095, allocations: 162.7 kB / 1.241 GB, free: 3.531 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000241/1.095, allocations: 200.9 kB / 1.241 GB, free: 3.273 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/1.095, allocations: 4 kB / 1.241 GB, free: 3.27 MB / 0.9512 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004035/1.096, allocations: 209.5 kB / 1.242 GB, free: 3.059 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/1.096, allocations: 12.12 kB / 1.242 GB, free: 3.047 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/1.096, allocations: 7.938 kB / 1.242 GB, free: 3.039 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/1.096, allocations: 4 kB / 1.242 GB, free: 3.035 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001604/1.096, allocations: 43.92 kB / 1.242 GB, free: 2.992 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.197e-05/1.096, allocations: 7.938 kB / 1.242 GB, free: 2.984 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001669/1.096, allocations: 35.53 kB / 1.242 GB, free: 2.949 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.598e-05/1.096, allocations: 12 kB / 1.242 GB, free: 2.938 MB / 0.9512 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.0001625/1.096, allocations: 223.2 kB / 1.242 GB, free: 2.711 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.296e-05/1.097, allocations: 120.8 kB / 1.242 GB, free: 2.586 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.661e-05/1.097, allocations: 133.7 kB / 1.242 GB, free: 2.453 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.256e-05/1.097, allocations: 176.3 kB / 1.242 GB, free: 2.273 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.064e-05/1.097, allocations: 180.2 kB / 1.242 GB, free: 2.09 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.861e-05/1.097, allocations: 184.3 kB / 1.243 GB, free: 1.902 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003531/1.097, allocations: 489.1 kB / 1.243 GB, free: 1.367 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.656e-05/1.097, allocations: 104.9 kB / 1.243 GB, free: 1.258 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.556e-05/1.097, allocations: 101 kB / 1.243 GB, free: 1.152 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.784e-05/1.097, allocations: 176.3 kB / 1.243 GB, free: 0.9727 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.385e-05/1.098, allocations: 188.1 kB / 1.244 GB, free: 0.7812 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.787e-05/1.098, allocations: 184.2 kB / 1.244 GB, free: 0.5938 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.699e-05/1.098, allocations: 184.2 kB / 1.244 GB, free: 416 kB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001805/1.098, allocations: 324 kB / 1.244 GB, free: 68 kB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001406/1.098, allocations: 205.9 kB / 1.245 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001048/1.098, allocations: 184.2 kB / 1.245 GB, free: 15.65 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/1.098, allocations: 108.9 kB / 1.245 GB, free: 15.54 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.155e-05/1.098, allocations: 185 kB / 1.245 GB, free: 15.35 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-05/1.098, allocations: 104.9 kB / 1.245 GB, free: 15.24 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002581/1.099, allocations: 217.9 kB / 1.245 GB, free: 15.03 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/1.099, allocations: 0 / 1.245 GB, free: 15.03 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003709/1.099, allocations: 47.94 kB / 1.245 GB, free: 14.98 MB / 0.9669 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.0003527/1.099, allocations: 214.5 kB / 1.246 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002072/1.1, allocations: 84.47 kB / 1.246 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/1.1, allocations: 0 / 1.246 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.082e-06/1.1, allocations: 0 / 1.246 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005255/1.1, allocations: 480.8 kB / 1.246 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006385/1.101, allocations: 494.4 kB / 1.247 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003405/1.101, allocations: 0.7359 MB / 1.247 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.651e-05/1.101, allocations: 19.44 kB / 1.247 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of SimCode: time 2.61e-07/1.101, allocations: 0 / 1.247 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of Templates: time 0.005253/1.107, allocations: 2.829 MB / 1.25 GB, free: 10.09 MB / 0.9669 GB make -j1 -f Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.makefile (rm -f Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & ./Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches