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.009978/0.009978, allocations: 101.7 kB / 15.73 MB, free: 6.07 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.002558/0.002558, allocations: 196.6 kB / 16.68 MB, free: 5.977 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.379/1.379, 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 10.1.1-maint.10.0.x/package.mo): time 2.412/2.412, allocations: 437 MB / 0.7105 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 63.89 kB / 1.019 GB, free: 9.387 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7864/0.7876, allocations: 151.6 MB / 1.167 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison): time 0.004682/0.7924, allocations: 3.758 MB / 1.17 GB, free: 68 kB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.007043/0.7994, allocations: 4.896 MB / 1.175 GB, free: 11.15 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003242/0.7998, allocations: 19.94 kB / 1.175 GB, free: 11.13 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.003282/0.8031, allocations: 1.398 MB / 1.176 GB, free: 9.734 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001549/0.8046, allocations: 0.795 MB / 1.177 GB, free: 8.938 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001788/0.8064, allocations: 0.8401 MB / 1.178 GB, free: 8.098 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.01812/0.8246, allocations: 12.8 MB / 1.191 GB, free: 11.29 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002678/0.8248, allocations: 97.77 kB / 1.191 GB, free: 11.18 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009663/0.8258, allocations: 0.5762 MB / 1.191 GB, free: 10.6 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009315/0.8268, allocations: 0.5954 MB / 1.192 GB, free: 10 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.000225/0.827, allocations: 68 kB / 1.192 GB, free: 9.938 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001565/0.8286, allocations: 0.8345 MB / 1.193 GB, free: 9.102 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0007849/0.8294, allocations: 0.7987 MB / 1.193 GB, free: 8.301 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001221/0.8306, allocations: 0.8352 MB / 1.194 GB, free: 7.461 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.003019/0.8336, allocations: 2.556 MB / 1.197 GB, free: 4.895 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.8336, allocations: 0 / 1.197 GB, free: 4.895 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.333e-06/0.8337, allocations: 0 / 1.197 GB, free: 4.895 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.333e-05/0.8337, allocations: 0 / 1.197 GB, free: 4.895 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.004629/0.8383, allocations: 2.257 MB / 1.199 GB, free: 2.574 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.8384, allocations: 8.031 kB / 1.199 GB, free: 2.566 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002516/0.8409, allocations: 498.3 kB / 1.199 GB, free: 2.078 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00465/0.8456, allocations: 2.842 MB / 1.202 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.596e-05/0.8456, allocations: 20 kB / 1.202 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.849e-05/0.8457, allocations: 28 kB / 1.202 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001277/0.847, allocations: 0.6688 MB / 1.203 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.847, allocations: 0 / 1.203 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.823e-05/0.8471, allocations: 8 kB / 1.203 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.8471, allocations: 4 kB / 1.203 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001458/0.8485, allocations: 0.5308 MB / 1.203 GB, free: 13.9 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003756/0.8523, allocations: 2.229 MB / 1.206 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001631/0.854, allocations: 0.6985 MB / 1.206 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007365/0.8547, allocations: 285.8 kB / 1.207 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.616e-05/0.8547, allocations: 15.91 kB / 1.207 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/0.8548, allocations: 34.56 kB / 1.207 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=21): time 1.633e-06/0.8548, allocations: 4 kB / 1.207 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of matching and sorting (n=21): time 0.002612/0.8574, allocations: 1.029 MB / 1.208 GB, free: 9.523 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.323e-05/0.8574, allocations: 51.41 kB / 1.208 GB, free: 9.461 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003372/0.8608, allocations: 2.688 MB / 1.21 GB, free: 6.742 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.907e-05/0.8609, allocations: 37.7 kB / 1.21 GB, free: 6.699 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005997/0.8615, allocations: 0.6648 MB / 1.211 GB, free: 6.027 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 8.782e-05/0.8616, allocations: 83.36 kB / 1.211 GB, free: 5.945 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004362/0.8621, allocations: 350.4 kB / 1.211 GB, free: 5.598 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 8.889e-05/0.8621, allocations: 305.1 kB / 1.212 GB, free: 5.297 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001688/0.8638, allocations: 1.095 MB / 1.213 GB, free: 4.195 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00183/0.8657, allocations: 1.448 MB / 1.214 GB, free: 2.637 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003186/0.8689, allocations: 2.325 MB / 1.216 GB, free: 232 kB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.743e-06/0.8689, allocations: 7.875 kB / 1.216 GB, free: 224 kB / 0.9356 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.004144/0.873, allocations: 2.75 MB / 1.219 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.8731, allocations: 8 kB / 1.219 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/0.8731, allocations: 8 kB / 1.219 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.416e-05/0.8731, allocations: 12 kB / 1.219 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001018/0.8741, allocations: 263.6 kB / 1.219 GB, free: 13.17 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.533e-05/0.8742, allocations: 8 kB / 1.219 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001391/0.8756, allocations: 223.3 kB / 1.22 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001297/0.8757, allocations: 79.97 kB / 1.22 GB, free: 12.87 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002094/0.8778, allocations: 1.389 MB / 1.221 GB, free: 11.47 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001689/0.8795, allocations: 1.297 MB / 1.222 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002841/0.8824, allocations: 2.011 MB / 1.224 GB, free: 7.969 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.537e-06/0.8824, allocations: 4 kB / 1.224 GB, free: 7.965 MB / 0.9512 GB Notification: Performance of matching and sorting (n=196) (initialization_lambda0): time 0.003968/0.8864, allocations: 2.429 MB / 1.227 GB, free: 5.527 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.8864, allocations: 8 kB / 1.227 GB, free: 5.52 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.479e-05/0.8864, allocations: 8 kB / 1.227 GB, free: 5.512 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.8864, allocations: 15.94 kB / 1.227 GB, free: 5.496 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009737/0.8874, allocations: 247.8 kB / 1.227 GB, free: 5.254 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.121e-05/0.8874, allocations: 19.92 kB / 1.227 GB, free: 5.234 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001493/0.8889, allocations: 183.9 kB / 1.227 GB, free: 5.055 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.762e-05/0.889, allocations: 63.98 kB / 1.227 GB, free: 4.992 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.0002683/0.8893, allocations: 232 kB / 1.227 GB, free: 4.758 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002194/0.8895, allocations: 186.6 kB / 1.228 GB, free: 4.574 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002102/0.8917, allocations: 0.8021 MB / 1.228 GB, free: 3.762 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.8917, allocations: 4 kB / 1.228 GB, free: 3.758 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.8917, allocations: 0 / 1.228 GB, free: 3.758 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.8917, allocations: 3.984 kB / 1.228 GB, free: 3.754 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00133/0.893, allocations: 1.059 MB / 1.229 GB, free: 2.641 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.893, allocations: 0 / 1.229 GB, free: 2.641 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005009/0.8935, allocations: 95.86 kB / 1.23 GB, free: 2.547 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.8936, allocations: 3.938 kB / 1.23 GB, free: 2.543 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.173e-05/0.8936, allocations: 11.98 kB / 1.23 GB, free: 2.531 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.8936, allocations: 0 / 1.23 GB, free: 2.531 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.8936, allocations: 0 / 1.23 GB, free: 2.531 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001707/0.8953, allocations: 0.8737 MB / 1.23 GB, free: 1.641 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006725/0.896, allocations: 359.7 kB / 1.231 GB, free: 1.27 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001972/0.8962, allocations: 0 / 1.231 GB, free: 1.27 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008818/0.8971, allocations: 91.89 kB / 1.231 GB, free: 1.18 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.324e-05/0.8972, allocations: 19.97 kB / 1.231 GB, free: 1.16 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.421e-05/0.8972, allocations: 16 kB / 1.231 GB, free: 1.145 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.002513/0.8998, allocations: 1.831 MB / 1.233 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of sort global known variables: time 3.21e-07/0.8998, allocations: 3.938 kB / 1.233 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001754/0.9015, allocations: 0.6792 MB / 1.233 GB, free: 14.61 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.0008139/0.9024, allocations: 390.4 kB / 1.234 GB, free: 14.22 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.004366/0.9067, allocations: 2.762 MB / 1.236 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.9067, allocations: 0 / 1.236 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.000738/0.9075, allocations: 301.3 kB / 1.237 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002922/0.9104, allocations: 0.904 MB / 1.238 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004209/0.9146, allocations: 2.908 MB / 1.24 GB, free: 7.324 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001019/0.9157, allocations: 1.416 MB / 1.242 GB, free: 5.879 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001502/0.9172, allocations: 0.5218 MB / 1.242 GB, free: 5.352 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003903/0.9176, allocations: 139.3 kB / 1.242 GB, free: 5.215 MB / 0.9669 GB Notification: Performance of SimCode: time 4.61e-07/0.9176, allocations: 4 kB / 1.242 GB, free: 5.211 MB / 0.9669 GB Notification: Performance of Templates: time 0.05956/0.9772, allocations: 38.85 MB / 1.28 GB, free: 14.96 MB / 1.014 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/jenkins/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