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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.0009466/0.0009468, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.008476/0.008476, allocations: 172.7 kB / 16.26 MB, free: 6.613 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.413/1.413, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.634/2.634, allocations: 437.8 MB / 0.7121 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003644/0.0003643, allocations: 8 kB / 0.8728 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8024/0.8028, allocations: 153.8 MB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.1914/0.9942, allocations: 165.9 MB / 1.185 GB, free: 9.367 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.006388/1.001, allocations: 5.891 MB / 1.191 GB, free: 3.457 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003192/1.001, allocations: 7.938 kB / 1.191 GB, free: 3.449 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.000622/1.002, allocations: 159 kB / 1.191 GB, free: 3.293 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002912/1.002, allocations: 87.56 kB / 1.191 GB, free: 3.207 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00115/1.003, allocations: 490.5 kB / 1.191 GB, free: 2.727 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0004982/1.004, allocations: 470.5 kB / 1.192 GB, free: 2.266 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002953/1.004, allocations: 135.6 kB / 1.192 GB, free: 2.129 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003002/1.004, allocations: 155.4 kB / 1.192 GB, free: 1.977 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002006/1.004, allocations: 135.3 kB / 1.192 GB, free: 1.844 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.168e-05/1.004, allocations: 12 kB / 1.192 GB, free: 1.832 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008477/1.005, allocations: 0.5142 MB / 1.193 GB, free: 1.316 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.465e-05/1.005, allocations: 59.75 kB / 1.193 GB, free: 1.258 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001115/1.006, allocations: 121.2 kB / 1.193 GB, free: 1.133 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0005713/1.006, allocations: 454.6 kB / 1.193 GB, free: 0.6875 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/1.006, allocations: 0 / 1.193 GB, free: 0.6875 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.373e-06/1.006, allocations: 0 / 1.193 GB, free: 0.6875 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.781e-06/1.006, allocations: 0 / 1.193 GB, free: 0.6875 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.0005746/1.007, allocations: 482.9 kB / 1.194 GB, free: 172 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/1.007, allocations: 12.03 kB / 1.194 GB, free: 160 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002884/1.007, allocations: 47.69 kB / 1.194 GB, free: 112 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002969/1.007, allocations: 254.5 kB / 1.194 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001498/1.008, allocations: 131.4 kB / 1.194 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.192e-05/1.008, allocations: 24 kB / 1.194 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004418/1.008, allocations: 294.8 kB / 1.195 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/1.008, allocations: 0 / 1.195 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.59e-05/1.008, allocations: 12 kB / 1.195 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/1.008, allocations: 8 kB / 1.195 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002944/1.008, allocations: 160.6 kB / 1.195 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00132/1.01, allocations: 1.583 MB / 1.196 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 7.725e-05/1.01, allocations: 165.1 kB / 1.197 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.245e-05/1.01, allocations: 84.14 kB / 1.197 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.438e-05/1.01, allocations: 75.28 kB / 1.197 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.902e-05/1.01, allocations: 113.8 kB / 1.197 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 1.162e-06/1.01, allocations: 0 / 1.197 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 8.468e-05/1.01, allocations: 49.45 kB / 1.197 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.507e-05/1.01, allocations: 126.7 kB / 1.197 GB, free: 12.83 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003411/1.01, allocations: 314.5 kB / 1.197 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.071e-05/1.01, allocations: 25.7 kB / 1.197 GB, free: 12.47 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.00012/1.011, allocations: 191.2 kB / 1.197 GB, free: 12.28 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 5.27e-06/1.011, allocations: 4 kB / 1.197 GB, free: 12.28 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.634e-05/1.011, allocations: 25.7 kB / 1.197 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001134/1.011, allocations: 326.8 kB / 1.198 GB, free: 11.92 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.509e-05/1.011, allocations: 39.92 kB / 1.198 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001625/1.011, allocations: 162.6 kB / 1.198 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000215/1.011, allocations: 204.9 kB / 1.198 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/1.011, allocations: 4 kB / 1.198 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003879/1.012, allocations: 217 kB / 1.198 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/1.012, allocations: 13.97 kB / 1.198 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/1.012, allocations: 4 kB / 1.198 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/1.012, allocations: 8 kB / 1.198 GB, free: 11.15 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001456/1.012, allocations: 35.92 kB / 1.198 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.302e-05/1.012, allocations: 11.98 kB / 1.198 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001628/1.012, allocations: 32.16 kB / 1.198 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.511e-05/1.012, allocations: 19.94 kB / 1.199 GB, free: 11.05 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.00014/1.012, allocations: 217 kB / 1.199 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.841e-05/1.012, allocations: 124.6 kB / 1.199 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.78e-05/1.012, allocations: 121.8 kB / 1.199 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.797e-05/1.012, allocations: 184.2 kB / 1.199 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-05/1.013, allocations: 184.3 kB / 1.199 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.989e-05/1.013, allocations: 180.2 kB / 1.199 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003143/1.013, allocations: 477.1 kB / 1.2 GB, free: 9.492 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.036e-05/1.013, allocations: 105 kB / 1.2 GB, free: 9.383 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.564e-05/1.013, allocations: 104.9 kB / 1.2 GB, free: 9.273 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-05/1.013, allocations: 188.2 kB / 1.2 GB, free: 9.082 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.181e-05/1.013, allocations: 184.2 kB / 1.2 GB, free: 8.895 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.168e-05/1.013, allocations: 180.3 kB / 1.201 GB, free: 8.711 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.174e-05/1.013, allocations: 180.3 kB / 1.201 GB, free: 8.527 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001686/1.013, allocations: 319.6 kB / 1.201 GB, free: 8.191 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000121/1.014, allocations: 213.8 kB / 1.201 GB, free: 7.957 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.05e-05/1.014, allocations: 184.2 kB / 1.202 GB, free: 7.77 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001133/1.014, allocations: 101 kB / 1.202 GB, free: 7.664 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.627e-05/1.014, allocations: 184.2 kB / 1.202 GB, free: 7.477 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.708e-05/1.014, allocations: 101 kB / 1.202 GB, free: 7.371 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002319/1.014, allocations: 221.9 kB / 1.202 GB, free: 7.16 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.5e-07/1.014, allocations: 4 kB / 1.202 GB, free: 7.156 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003581/1.015, allocations: 55.84 kB / 1.202 GB, free: 7.102 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.0003071/1.015, allocations: 210.8 kB / 1.202 GB, free: 6.887 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001923/1.015, allocations: 83.77 kB / 1.202 GB, free: 6.805 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/1.015, allocations: 3.938 kB / 1.202 GB, free: 6.801 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 3.978e-06/1.015, allocations: 5.188 kB / 1.202 GB, free: 6.797 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005179/1.016, allocations: 0.5464 MB / 1.203 GB, free: 6.242 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005663/1.016, allocations: 456.8 kB / 1.203 GB, free: 5.77 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002985/1.016, allocations: 0.7398 MB / 1.204 GB, free: 5.004 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001482/1.017, allocations: 37.94 kB / 1.204 GB, free: 4.969 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.817e-05/1.017, allocations: 15.44 kB / 1.204 GB, free: 4.953 MB / 0.9512 GB Notification: Performance of SimCode: time 2.1e-07/1.017, allocations: 0 / 1.204 GB, free: 4.953 MB / 0.9512 GB Notification: Performance of Templates: time 0.00505/1.022, allocations: 1.754 MB / 1.206 GB, free: 3.211 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/jenkins/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