Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001755/0.001755, allocations: 105.9 kB / 16.27 MB, free: 5.988 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.001993/0.001993, allocations: 192.3 kB / 17.2 MB, free: 5.609 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.381/1.381, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.71/2.71, allocations: 482.4 MB / 0.7553 GB, free: 6.953 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 76.23 kB / 0.9245 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7564/0.7583, allocations: 162.2 MB / 1.083 GB, free: 1.652 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison): time 0.005252/0.7636, allocations: 3.761 MB / 1.087 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.009614/0.7732, allocations: 4.896 MB / 1.091 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007512/0.774, allocations: 13.31 kB / 1.091 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.01172/0.7858, allocations: 5.707 MB / 1.097 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.002351/0.7882, allocations: 0.7752 MB / 1.098 GB, free: 9.762 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002159/0.7904, allocations: 0.8329 MB / 1.099 GB, free: 9.367 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.01442/0.8048, allocations: 8.001 MB / 1.106 GB, free: 7.117 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003475/0.8052, allocations: 101.8 kB / 1.106 GB, free: 7.066 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001154/0.8064, allocations: 0.5418 MB / 1.107 GB, free: 6.848 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008981/0.8073, allocations: 0.5903 MB / 1.108 GB, free: 6.566 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001692/0.8074, allocations: 67.84 kB / 1.108 GB, free: 6.566 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003171/0.8106, allocations: 1.398 MB / 1.109 GB, free: 6.105 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.001268/0.8119, allocations: 0.79 MB / 1.11 GB, free: 5.875 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001336/0.8132, allocations: 0.8438 MB / 1.111 GB, free: 5.348 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.005538/0.8188, allocations: 2.978 MB / 1.113 GB, free: 4.07 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.8188, allocations: 1.062 kB / 1.113 GB, free: 4.07 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.733e-06/0.8188, allocations: 0 / 1.113 GB, free: 4.07 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 3.245e-05/0.8189, allocations: 0 / 1.113 GB, free: 4.07 MB / 0.8419 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.005312/0.8242, allocations: 2.227 MB / 1.116 GB, free: 2.391 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.8243, allocations: 9.031 kB / 1.116 GB, free: 2.391 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002846/0.8271, allocations: 479.3 kB / 1.116 GB, free: 2.18 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005478/0.8326, allocations: 2.701 MB / 1.119 GB, free: 476 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.606e-05/0.8327, allocations: 29.25 kB / 1.119 GB, free: 460 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001069/0.8328, allocations: 29.94 kB / 1.119 GB, free: 452 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001414/0.8342, allocations: 0.656 MB / 1.119 GB, free: 100 kB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.8343, allocations: 5.328 kB / 1.119 GB, free: 96 kB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.934e-05/0.8343, allocations: 9.25 kB / 1.119 GB, free: 88 kB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.69e-05/0.8343, allocations: 5.031 kB / 1.119 GB, free: 88 kB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001621/0.836, allocations: 0.5248 MB / 1.12 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005325/0.8413, allocations: 2.232 MB / 1.122 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001758/0.8431, allocations: 0.6994 MB / 1.123 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008036/0.8439, allocations: 292.5 kB / 1.123 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.676e-05/0.844, allocations: 7.422 kB / 1.123 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.587e-05/0.844, allocations: 32.72 kB / 1.123 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=21): time 2.244e-06/0.844, allocations: 0 / 1.123 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of matching and sorting (n=21): time 0.003156/0.8472, allocations: 1.024 MB / 1.124 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.818e-05/0.8472, allocations: 53.84 kB / 1.124 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00478/0.852, allocations: 2.627 MB / 1.127 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0001949/0.8522, allocations: 41.27 kB / 1.127 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007584/0.853, allocations: 0.6603 MB / 1.127 GB, free: 11.28 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001373/0.8532, allocations: 76.16 kB / 1.128 GB, free: 11.22 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000644/0.8538, allocations: 375 kB / 1.128 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.854, allocations: 306.2 kB / 1.128 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001987/0.856, allocations: 1.142 MB / 1.129 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002403/0.8584, allocations: 1.494 MB / 1.131 GB, free: 9.293 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003995/0.8624, allocations: 2.397 MB / 1.133 GB, free: 8.031 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.859e-05/0.8624, allocations: 2.188 kB / 1.133 GB, free: 8.031 MB / 0.8575 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.005457/0.8679, allocations: 2.833 MB / 1.136 GB, free: 6.734 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.599e-05/0.868, allocations: 11.48 kB / 1.136 GB, free: 6.73 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.584e-05/0.868, allocations: 7.578 kB / 1.136 GB, free: 6.73 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.236e-05/0.868, allocations: 16.47 kB / 1.136 GB, free: 6.727 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001073/0.8691, allocations: 272.1 kB / 1.136 GB, free: 6.66 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.27e-05/0.8692, allocations: 15.81 kB / 1.136 GB, free: 6.656 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002106/0.8713, allocations: 216.7 kB / 1.136 GB, free: 6.523 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001501/0.8714, allocations: 79.92 kB / 1.136 GB, free: 6.508 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002631/0.8741, allocations: 1.439 MB / 1.138 GB, free: 5.762 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002049/0.8761, allocations: 1.336 MB / 1.139 GB, free: 4.766 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003486/0.8796, allocations: 2.09 MB / 1.141 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.838e-06/0.8797, allocations: 7.938 kB / 1.141 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of matching and sorting (n=208) (initialization_lambda0): time 0.004837/0.8845, allocations: 2.521 MB / 1.144 GB, free: 40 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.434e-05/0.8846, allocations: 10.5 kB / 1.144 GB, free: 32 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.377e-05/0.8846, allocations: 8.125 kB / 1.144 GB, free: 24 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.8846, allocations: 12 kB / 1.144 GB, free: 12 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001063/0.8857, allocations: 267.6 kB / 1.144 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.035e-05/0.8857, allocations: 19.92 kB / 1.144 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002145/0.8879, allocations: 187.1 kB / 1.144 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001484/0.888, allocations: 67.98 kB / 1.144 GB, free: 15.48 MB / 0.8731 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 (130): * Single equations (assignments): 125 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 3 * 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.0003923/0.8884, allocations: 236.8 kB / 1.144 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005898/0.889, allocations: 169.6 kB / 1.145 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00237/0.8914, allocations: 0.7984 MB / 1.145 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.249e-06/0.8914, allocations: 0 / 1.145 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.8914, allocations: 0 / 1.145 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.8915, allocations: 0 / 1.145 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002126/0.8936, allocations: 1.063 MB / 1.146 GB, free: 13.15 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.8936, allocations: 4 kB / 1.146 GB, free: 13.15 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005302/0.8941, allocations: 87.92 kB / 1.147 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.561e-06/0.8942, allocations: 0 / 1.147 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.797e-05/0.8942, allocations: 15.98 kB / 1.147 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.8942, allocations: 4 kB / 1.147 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.635e-05/0.8942, allocations: 0 / 1.147 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002032/0.8963, allocations: 0.8635 MB / 1.147 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007959/0.8971, allocations: 354.6 kB / 1.148 GB, free: 11.79 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002615/0.8973, allocations: 4 kB / 1.148 GB, free: 11.79 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000938/0.8983, allocations: 87.89 kB / 1.148 GB, free: 11.7 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.793e-05/0.8984, allocations: 15.98 kB / 1.148 GB, free: 11.69 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.687e-05/0.8984, allocations: 19.98 kB / 1.148 GB, free: 11.67 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.002742/0.9012, allocations: 1.781 MB / 1.15 GB, free: 9.871 MB / 0.8731 GB Notification: Performance of sort global known variables: time 5.21e-07/0.9012, allocations: 3.938 kB / 1.15 GB, free: 9.867 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.003068/0.9043, allocations: 0.7888 MB / 1.15 GB, free: 9.078 MB / 0.8731 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.001444/0.9057, allocations: 0.4937 MB / 1.151 GB, free: 8.574 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.005201/0.9109, allocations: 2.894 MB / 1.154 GB, free: 5.684 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.207e-06/0.911, allocations: 4.5 kB / 1.154 GB, free: 5.68 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0007992/0.9118, allocations: 294.2 kB / 1.154 GB, free: 5.395 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003776/0.9156, allocations: 0.8807 MB / 1.155 GB, free: 4.523 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006654/0.9222, allocations: 3.135 MB / 1.158 GB, free: 1.352 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001266/0.9235, allocations: 1.401 MB / 1.159 GB, free: 15.92 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007307/0.9243, allocations: 139.4 kB / 1.159 GB, free: 15.79 MB / 0.8887 GB Notification: Performance of SimCode: time 5.41e-07/0.9243, allocations: 0 / 1.159 GB, free: 15.79 MB / 0.8887 GB Notification: Performance of Templates: time 0.05007/0.9744, allocations: 31.83 MB / 1.19 GB, free: 264 kB / 0.9044 GB make -j1 -f Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison.makefile (rm -f Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison.sim & ./Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Movers_BaseClasses_Validation_EulerComparison.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches