Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.0009299/0.00093, allocations: 91.92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009767/0.0009768, allocations: 179.3 kB / 16.92 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.418/1.418, allocations: 223.3 MB / 241 MB, free: 5.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.816/2.816, allocations: 437.8 MB / 0.7128 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003933/0.0003937, allocations: 8 kB / 0.8735 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6935/0.6939, allocations: 153.8 MB / 1.024 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.19/0.884, allocations: 165.9 MB / 1.186 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00709/0.8911, allocations: 5.899 MB / 1.191 GB, free: 3.43 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000385/0.8916, allocations: 7.938 kB / 1.191 GB, free: 3.422 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0006306/0.8922, allocations: 151.1 kB / 1.192 GB, free: 3.273 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0004126/0.8926, allocations: 83.5 kB / 1.192 GB, free: 3.191 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001378/0.894, allocations: 498.5 kB / 1.192 GB, free: 2.703 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0006331/0.8947, allocations: 474.5 kB / 1.193 GB, free: 2.238 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003021/0.895, allocations: 128.5 kB / 1.193 GB, free: 2.109 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003879/0.8954, allocations: 155.3 kB / 1.193 GB, free: 1.957 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002783/0.8957, allocations: 147.4 kB / 1.193 GB, free: 1.812 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.201e-05/0.8957, allocations: 4 kB / 1.193 GB, free: 1.809 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009445/0.8967, allocations: 0.5103 MB / 1.194 GB, free: 1.297 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 9.26e-05/0.8968, allocations: 51.83 kB / 1.194 GB, free: 1.246 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001423/0.8969, allocations: 117.2 kB / 1.194 GB, free: 1.125 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0005347/0.8975, allocations: 319.2 kB / 1.194 GB, free: 0.8125 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.8975, allocations: 0 / 1.194 GB, free: 0.8125 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.933e-06/0.8975, allocations: 0 / 1.194 GB, free: 0.8125 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.014e-05/0.8975, allocations: 3.938 kB / 1.194 GB, free: 0.8086 MB / 0.9356 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.0006824/0.8982, allocations: 492.5 kB / 1.194 GB, free: 288 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/0.8983, allocations: 12.03 kB / 1.194 GB, free: 276 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003308/0.8986, allocations: 39.7 kB / 1.195 GB, free: 236 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003458/0.899, allocations: 261.2 kB / 1.195 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001412/0.8991, allocations: 131.4 kB / 1.195 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.563e-05/0.8992, allocations: 24 kB / 1.195 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004879/0.8997, allocations: 294.8 kB / 1.195 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.8997, allocations: 0 / 1.195 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.961e-05/0.8997, allocations: 19.94 kB / 1.195 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.507e-06/0.8997, allocations: 4 kB / 1.195 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003191/0.9001, allocations: 164.6 kB / 1.195 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001459/0.9015, allocations: 1.575 MB / 1.197 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 8.43e-05/0.9016, allocations: 173.1 kB / 1.197 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.62e-05/0.9017, allocations: 80.14 kB / 1.197 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.011e-05/0.9017, allocations: 79.22 kB / 1.197 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.345e-05/0.9018, allocations: 109.8 kB / 1.197 GB, free: 13.13 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 1.343e-06/0.9018, allocations: 0 / 1.197 GB, free: 13.13 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 0.0001062/0.9019, allocations: 45.45 kB / 1.197 GB, free: 13.08 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.429e-05/0.902, allocations: 130.7 kB / 1.197 GB, free: 12.94 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003809/0.9023, allocations: 318.5 kB / 1.198 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.256e-05/0.9024, allocations: 25.7 kB / 1.198 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001349/0.9025, allocations: 179.2 kB / 1.198 GB, free: 12.4 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 7.143e-06/0.9025, allocations: 8 kB / 1.198 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.383e-05/0.9026, allocations: 21.7 kB / 1.198 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.9027, allocations: 326.8 kB / 1.198 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.746e-05/0.9028, allocations: 43.75 kB / 1.198 GB, free: 12 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001672/0.903, allocations: 165.1 kB / 1.199 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002282/0.9032, allocations: 196.9 kB / 1.199 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.9032, allocations: 3.938 kB / 1.199 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004294/0.9037, allocations: 220.9 kB / 1.199 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/0.9037, allocations: 11.94 kB / 1.199 GB, free: 11.28 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.9037, allocations: 7.984 kB / 1.199 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.9037, allocations: 4 kB / 1.199 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001596/0.9039, allocations: 40.55 kB / 1.199 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.262e-05/0.9039, allocations: 7.938 kB / 1.199 GB, free: 11.22 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001804/0.9041, allocations: 35.69 kB / 1.199 GB, free: 11.19 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.659e-05/0.9041, allocations: 8 kB / 1.199 GB, free: 11.18 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.00015/0.9043, allocations: 221.5 kB / 1.199 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.151e-05/0.9044, allocations: 124.6 kB / 1.199 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.957e-05/0.9045, allocations: 125.8 kB / 1.199 GB, free: 10.69 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.717e-05/0.9045, allocations: 180.2 kB / 1.2 GB, free: 10.51 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.189e-05/0.9046, allocations: 184.2 kB / 1.2 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-05/0.9047, allocations: 188.2 kB / 1.2 GB, free: 10.13 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003067/0.905, allocations: 477.1 kB / 1.2 GB, free: 9.605 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.578e-05/0.905, allocations: 105 kB / 1.201 GB, free: 9.496 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.444e-05/0.9051, allocations: 104.9 kB / 1.201 GB, free: 9.387 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.333e-05/0.9051, allocations: 184.2 kB / 1.201 GB, free: 9.199 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.927e-05/0.9052, allocations: 184.2 kB / 1.201 GB, free: 9.012 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.985e-05/0.9053, allocations: 184.2 kB / 1.201 GB, free: 8.824 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-05/0.9053, allocations: 176.3 kB / 1.201 GB, free: 8.645 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001489/0.9055, allocations: 323.6 kB / 1.202 GB, free: 8.305 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000116/0.9056, allocations: 209.8 kB / 1.202 GB, free: 8.074 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.968e-05/0.9057, allocations: 184.2 kB / 1.202 GB, free: 7.887 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001219/0.9058, allocations: 101 kB / 1.202 GB, free: 7.781 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.618e-05/0.9059, allocations: 188.2 kB / 1.202 GB, free: 7.59 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.454e-05/0.906, allocations: 101 kB / 1.202 GB, free: 7.484 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002342/0.9062, allocations: 221.9 kB / 1.203 GB, free: 7.273 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9062, allocations: 0 / 1.203 GB, free: 7.273 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000386/0.9066, allocations: 51.84 kB / 1.203 GB, free: 7.223 MB / 0.9512 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.0003104/0.9069, allocations: 210.8 kB / 1.203 GB, free: 7.008 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001992/0.9071, allocations: 83.77 kB / 1.203 GB, free: 6.926 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.9071, allocations: 1.25 kB / 1.203 GB, free: 6.926 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.974e-06/0.9071, allocations: 7.875 kB / 1.203 GB, free: 6.918 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005432/0.9077, allocations: 0.5481 MB / 1.204 GB, free: 6.363 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006852/0.9084, allocations: 498.5 kB / 1.204 GB, free: 5.844 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003163/0.9087, allocations: 0.732 MB / 1.205 GB, free: 5.086 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.879e-05/0.9088, allocations: 19.44 kB / 1.205 GB, free: 5.066 MB / 0.9512 GB Notification: Performance of SimCode: time 4.81e-07/0.9088, allocations: 0 / 1.205 GB, free: 5.066 MB / 0.9512 GB Notification: Performance of Templates: time 0.005576/0.9144, allocations: 2.795 MB / 1.207 GB, free: 2.273 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.makefile (rm -f Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & ./Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches