Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison.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.Movers.BaseClasses.Validation.EulerComparison,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eta1|eta2|P1|P2|eff1.dp|eff1.r_N",fileNamePrefix="Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison") translateModel(Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eta1|eta2|P1|P2|eff1.dp|eff1.r_N",fileNamePrefix="Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001666/0.001667, allocations: 105 kB / 16.41 MB, free: 6.457 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.001805/0.001805, allocations: 189.7 kB / 17.34 MB, free: 5.715 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.427/1.427, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.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.502/2.502, allocations: 437 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001811/0.001811, allocations: 67.91 kB / 1.019 GB, free: 9.375 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8625/0.8644, allocations: 151.6 MB / 1.167 GB, free: 3.816 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison): time 0.004947/0.8693, allocations: 3.761 MB / 1.171 GB, free: 40 kB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.007597/0.877, allocations: 4.881 MB / 1.176 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005707/0.8776, allocations: 23.88 kB / 1.176 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.003624/0.8813, allocations: 1.415 MB / 1.177 GB, free: 9.703 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001989/0.8833, allocations: 0.782 MB / 1.178 GB, free: 8.918 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001974/0.8853, allocations: 0.8475 MB / 1.179 GB, free: 8.07 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.01846/0.9037, allocations: 12.79 MB / 1.191 GB, free: 11.27 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002901/0.9041, allocations: 109.7 kB / 1.191 GB, free: 11.15 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001026/0.9051, allocations: 0.5723 MB / 1.192 GB, free: 10.58 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006723/0.9058, allocations: 0.5915 MB / 1.192 GB, free: 9.984 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001253/0.9059, allocations: 68 kB / 1.193 GB, free: 9.918 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001399/0.9073, allocations: 0.8307 MB / 1.193 GB, free: 9.086 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0006366/0.908, allocations: 0.8064 MB / 1.194 GB, free: 8.277 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0007103/0.9087, allocations: 0.8313 MB / 1.195 GB, free: 7.441 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002825/0.9115, allocations: 2.556 MB / 1.197 GB, free: 4.875 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.9115, allocations: 0 / 1.197 GB, free: 4.875 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.433e-06/0.9115, allocations: 0 / 1.197 GB, free: 4.875 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.477e-05/0.9116, allocations: 0 / 1.197 GB, free: 4.875 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.003865/0.9154, allocations: 2.257 MB / 1.2 GB, free: 2.555 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.9155, allocations: 12.03 kB / 1.2 GB, free: 2.543 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002615/0.9181, allocations: 490.3 kB / 1.2 GB, free: 2.062 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004648/0.9228, allocations: 2.846 MB / 1.203 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.008e-05/0.9228, allocations: 24 kB / 1.203 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.93e-05/0.9229, allocations: 32 kB / 1.203 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001264/0.9242, allocations: 0.6572 MB / 1.204 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.9242, allocations: 0 / 1.204 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.961e-05/0.9243, allocations: 8 kB / 1.204 GB, free: 14.42 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.9243, allocations: 4 kB / 1.204 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001504/0.9258, allocations: 0.5269 MB / 1.204 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003825/0.9296, allocations: 2.233 MB / 1.206 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001691/0.9313, allocations: 0.7023 MB / 1.207 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007586/0.9321, allocations: 285.8 kB / 1.207 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.787e-05/0.9322, allocations: 7.938 kB / 1.207 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.558e-05/0.9322, allocations: 34.56 kB / 1.207 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=21): time 1.843e-06/0.9322, allocations: 3.938 kB / 1.207 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of matching and sorting (n=21): time 0.002984/0.9352, allocations: 1.033 MB / 1.208 GB, free: 9.508 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.353e-05/0.9353, allocations: 51.41 kB / 1.208 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003648/0.9389, allocations: 2.68 MB / 1.211 GB, free: 6.734 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001099/0.9391, allocations: 37.81 kB / 1.211 GB, free: 6.691 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.00058/0.9396, allocations: 0.6803 MB / 1.212 GB, free: 6.004 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001021/0.9398, allocations: 83.36 kB / 1.212 GB, free: 5.922 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004423/0.9402, allocations: 346.4 kB / 1.212 GB, free: 5.578 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.528e-05/0.9403, allocations: 305.1 kB / 1.212 GB, free: 5.277 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001623/0.9419, allocations: 1.095 MB / 1.213 GB, free: 4.176 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001907/0.9439, allocations: 1.448 MB / 1.215 GB, free: 2.617 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003234/0.9471, allocations: 2.328 MB / 1.217 GB, free: 208 kB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.066e-05/0.9471, allocations: 7.938 kB / 1.217 GB, free: 200 kB / 0.9356 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.004387/0.9515, allocations: 2.742 MB / 1.22 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.58e-05/0.9516, allocations: 12.03 kB / 1.22 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.545e-05/0.9516, allocations: 8 kB / 1.22 GB, free: 13.42 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.719e-05/0.9516, allocations: 12 kB / 1.22 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001045/0.9527, allocations: 263.6 kB / 1.22 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.003e-05/0.9527, allocations: 15.94 kB / 1.22 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001667/0.9544, allocations: 211.4 kB / 1.22 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001262/0.9545, allocations: 79.97 kB / 1.22 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002094/0.9566, allocations: 1.389 MB / 1.222 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00168/0.9583, allocations: 1.293 MB / 1.223 GB, free: 10.06 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002888/0.9612, allocations: 2.015 MB / 1.225 GB, free: 7.953 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.609e-06/0.9612, allocations: 0 / 1.225 GB, free: 7.953 MB / 0.9512 GB Notification: Performance of matching and sorting (n=196) (initialization_lambda0): time 0.004051/0.9653, allocations: 2.437 MB / 1.227 GB, free: 5.508 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.9653, allocations: 8 kB / 1.227 GB, free: 5.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.9654, allocations: 4 kB / 1.227 GB, free: 5.496 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.9654, allocations: 12 kB / 1.227 GB, free: 5.484 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009991/0.9664, allocations: 251.7 kB / 1.228 GB, free: 5.238 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.277e-05/0.9664, allocations: 19.92 kB / 1.228 GB, free: 5.219 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001809/0.9682, allocations: 183.9 kB / 1.228 GB, free: 5.039 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000118/0.9684, allocations: 59.98 kB / 1.228 GB, free: 4.98 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (120): * Single equations (assignments): 116 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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.0003172/0.9687, allocations: 235.9 kB / 1.228 GB, free: 4.742 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005197/0.9692, allocations: 182.7 kB / 1.228 GB, free: 4.562 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00222/0.9714, allocations: 0.8029 MB / 1.229 GB, free: 3.75 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.9715, allocations: 4 kB / 1.229 GB, free: 3.746 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.756e-06/0.9715, allocations: 4.125 kB / 1.229 GB, free: 3.742 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.9715, allocations: 3.984 kB / 1.229 GB, free: 3.738 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001752/0.9732, allocations: 1.059 MB / 1.23 GB, free: 2.625 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.9733, allocations: 0 / 1.23 GB, free: 2.625 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005513/0.9738, allocations: 95.86 kB / 1.23 GB, free: 2.531 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.111e-06/0.9738, allocations: 0 / 1.23 GB, free: 2.531 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.461e-05/0.9739, allocations: 7.984 kB / 1.23 GB, free: 2.523 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.9739, allocations: 0 / 1.23 GB, free: 2.523 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.9739, allocations: 8 kB / 1.23 GB, free: 2.516 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001982/0.9759, allocations: 0.8752 MB / 1.231 GB, free: 1.621 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007393/0.9766, allocations: 355.7 kB / 1.231 GB, free: 1.254 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004034/0.977, allocations: 4 kB / 1.231 GB, free: 1.25 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001106/0.9782, allocations: 95.88 kB / 1.232 GB, free: 1.156 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.288e-05/0.9782, allocations: 15.98 kB / 1.232 GB, free: 1.141 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.453e-05/0.9783, allocations: 19.98 kB / 1.232 GB, free: 1.121 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.002938/0.9812, allocations: 1.827 MB / 1.233 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.81e-07/0.9812, allocations: 0 / 1.233 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002289/0.9835, allocations: 0.6792 MB / 1.234 GB, free: 14.6 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 (23): * Single equations (assignments): 23 * 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.0009654/0.9845, allocations: 386.5 kB / 1.234 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.004719/0.9893, allocations: 2.773 MB / 1.237 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.9893, allocations: 0 / 1.237 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0007722/0.9901, allocations: 292.3 kB / 1.237 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004021/0.9941, allocations: 0.9094 MB / 1.238 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005433/0.9996, allocations: 3.003 MB / 1.241 GB, free: 7.207 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001239/1.001, allocations: 1.401 MB / 1.243 GB, free: 5.777 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006793/1.002, allocations: 147.4 kB / 1.243 GB, free: 5.633 MB / 0.9669 GB Notification: Performance of SimCode: time 1.222e-06/1.002, allocations: 0 / 1.243 GB, free: 5.633 MB / 0.9669 GB Notification: Performance of Templates: time 0.04918/1.051, allocations: 30.77 MB / 1.273 GB, free: 7.203 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison.makefile (rm -f Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison.pipe ; mkfifo Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison.pipe >> ../files/Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison.sim & ./Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Movers_BaseClasses_Validation_EulerComparison.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches