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.001359/0.001359, allocations: 108 kB / 15.61 MB, free: 152 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.001642/0.001642, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.429/1.429, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.826/2.826, allocations: 472.6 MB / 0.7451 GB, free: 4.617 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001439/0.00144, allocations: 68.05 kB / 0.9121 GB, free: 33.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3577/0.3591, allocations: 159.9 MB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison): time 0.005287/0.3645, allocations: 3.754 MB / 1.072 GB, free: 6.598 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.008171/0.3727, allocations: 4.891 MB / 1.077 GB, free: 1.695 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008492/0.3736, allocations: 15.94 kB / 1.077 GB, free: 1.68 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.009811/0.3834, allocations: 5.666 MB / 1.082 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.002419/0.3859, allocations: 0.7742 MB / 1.083 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.00226/0.3881, allocations: 0.8344 MB / 1.084 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.01753/0.4057, allocations: 10.05 MB / 1.094 GB, free: 380 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004019/0.4061, allocations: 97.75 kB / 1.094 GB, free: 276 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001393/0.4075, allocations: 0.5412 MB / 1.094 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001194/0.4087, allocations: 0.5876 MB / 1.095 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0003551/0.4091, allocations: 71.94 kB / 1.095 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0031/0.4122, allocations: 1.404 MB / 1.096 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0008588/0.4131, allocations: 0.7987 MB / 1.097 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001583/0.4147, allocations: 0.843 MB / 1.098 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.004818/0.4195, allocations: 2.971 MB / 1.101 GB, free: 9.031 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.4195, allocations: 0 / 1.101 GB, free: 9.031 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.773e-06/0.4195, allocations: 0 / 1.101 GB, free: 9.031 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.807e-05/0.4196, allocations: 0 / 1.101 GB, free: 9.031 MB / 0.8575 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.005422/0.425, allocations: 2.235 MB / 1.103 GB, free: 6.734 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.4251, allocations: 8.031 kB / 1.103 GB, free: 6.727 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00279/0.4279, allocations: 485.2 kB / 1.103 GB, free: 6.25 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004756/0.4327, allocations: 2.669 MB / 1.106 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.591e-05/0.4327, allocations: 24.33 kB / 1.106 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.643e-05/0.4328, allocations: 39.97 kB / 1.106 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00127/0.4341, allocations: 0.6534 MB / 1.107 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.4341, allocations: 0 / 1.107 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.11e-05/0.4342, allocations: 8 kB / 1.107 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.4342, allocations: 7.938 kB / 1.107 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001469/0.4357, allocations: 0.5307 MB / 1.107 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004229/0.4399, allocations: 2.244 MB / 1.109 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001637/0.4416, allocations: 0.7031 MB / 1.11 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007234/0.4423, allocations: 280.7 kB / 1.11 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.978e-05/0.4423, allocations: 19.91 kB / 1.11 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.615e-05/0.4424, allocations: 34.56 kB / 1.11 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=21): time 2.444e-06/0.4424, allocations: 0 / 1.11 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of matching and sorting (n=21): time 0.002781/0.4452, allocations: 1.022 MB / 1.111 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.772e-05/0.4452, allocations: 51.41 kB / 1.111 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003657/0.4489, allocations: 2.641 MB / 1.114 GB, free: 11.12 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 9.561e-05/0.449, allocations: 37.7 kB / 1.114 GB, free: 11.08 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000559/0.4496, allocations: 0.6523 MB / 1.115 GB, free: 10.42 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 9.33e-05/0.4497, allocations: 90.86 kB / 1.115 GB, free: 10.33 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004948/0.4502, allocations: 398.4 kB / 1.115 GB, free: 9.938 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 9.32e-05/0.4503, allocations: 301.1 kB / 1.115 GB, free: 9.641 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001695/0.452, allocations: 1.178 MB / 1.117 GB, free: 8.461 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001916/0.4539, allocations: 1.535 MB / 1.118 GB, free: 6.812 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003336/0.4572, allocations: 2.477 MB / 1.121 GB, free: 4.234 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.588e-06/0.4573, allocations: 0 / 1.121 GB, free: 4.234 MB / 0.8731 GB Notification: Performance of matching and sorting (n=220) (initialization): time 0.0045/0.4618, allocations: 2.945 MB / 1.123 GB, free: 1.285 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.665e-05/0.4618, allocations: 9.984 kB / 1.123 GB, free: 1.277 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.635e-05/0.4618, allocations: 11.94 kB / 1.123 GB, free: 1.266 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.495e-05/0.4619, allocations: 12 kB / 1.123 GB, free: 1.254 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001112/0.463, allocations: 283.6 kB / 1.124 GB, free: 0.9766 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.308e-05/0.463, allocations: 19.92 kB / 1.124 GB, free: 0.957 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001718/0.4647, allocations: 218.4 kB / 1.124 GB, free: 0.7422 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001423/0.4649, allocations: 79.98 kB / 1.124 GB, free: 0.6641 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002283/0.4672, allocations: 1.485 MB / 1.125 GB, free: 15.18 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00188/0.4691, allocations: 1.379 MB / 1.127 GB, free: 13.69 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003357/0.4725, allocations: 2.165 MB / 1.129 GB, free: 11.42 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.054e-05/0.4725, allocations: 4 kB / 1.129 GB, free: 11.42 MB / 0.8887 GB Notification: Performance of matching and sorting (n=220) (initialization_lambda0): time 0.005172/0.4777, allocations: 2.632 MB / 1.132 GB, free: 8.781 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.4777, allocations: 8.031 kB / 1.132 GB, free: 8.773 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.561e-05/0.4777, allocations: 8 kB / 1.132 GB, free: 8.766 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/0.4778, allocations: 16 kB / 1.132 GB, free: 8.75 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001046/0.4788, allocations: 275.6 kB / 1.132 GB, free: 8.48 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.937e-05/0.4789, allocations: 15.98 kB / 1.132 GB, free: 8.465 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002216/0.4811, allocations: 187.1 kB / 1.132 GB, free: 8.281 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000164/0.4813, allocations: 71.98 kB / 1.132 GB, free: 8.211 MB / 0.8887 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 (140): * Single equations (assignments): 134 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 4 * 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.0004607/0.4817, allocations: 239.8 kB / 1.132 GB, free: 7.969 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006369/0.4824, allocations: 169.7 kB / 1.132 GB, free: 7.801 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002334/0.4847, allocations: 0.7924 MB / 1.133 GB, free: 6.996 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.259e-06/0.4847, allocations: 4 kB / 1.133 GB, free: 6.992 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.4848, allocations: 0 / 1.133 GB, free: 6.992 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.4848, allocations: 0 / 1.133 GB, free: 6.992 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001744/0.4865, allocations: 1.07 MB / 1.134 GB, free: 5.867 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.4865, allocations: 4 kB / 1.134 GB, free: 5.863 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005332/0.4871, allocations: 91.86 kB / 1.134 GB, free: 5.773 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.4871, allocations: 3.938 kB / 1.134 GB, free: 5.77 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.34e-05/0.4871, allocations: 12.12 kB / 1.134 GB, free: 5.758 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.571e-06/0.4871, allocations: 4 kB / 1.134 GB, free: 5.754 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.4871, allocations: 3.938 kB / 1.134 GB, free: 5.75 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001942/0.4891, allocations: 0.861 MB / 1.135 GB, free: 4.871 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007303/0.4898, allocations: 362.5 kB / 1.136 GB, free: 4.496 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003742/0.4902, allocations: 8 kB / 1.136 GB, free: 4.488 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001029/0.4912, allocations: 83.89 kB / 1.136 GB, free: 4.406 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.226e-05/0.4913, allocations: 15.98 kB / 1.136 GB, free: 4.391 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.587e-05/0.4914, allocations: 23.98 kB / 1.136 GB, free: 4.367 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.002646/0.494, allocations: 1.788 MB / 1.137 GB, free: 2.562 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.11e-07/0.494, allocations: 0 / 1.137 GB, free: 2.562 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.002692/0.4967, allocations: 0.7967 MB / 1.138 GB, free: 1.766 MB / 0.8887 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.001368/0.4981, allocations: 497.3 kB / 1.139 GB, free: 1.27 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.005195/0.5033, allocations: 3.033 MB / 1.142 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.5033, allocations: 1.75 kB / 1.142 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0007671/0.5041, allocations: 298.3 kB / 1.142 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004092/0.5082, allocations: 0.8561 MB / 1.143 GB, free: 13.1 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006173/0.5144, allocations: 3.01 MB / 1.146 GB, free: 10.06 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001322/0.5158, allocations: 1.413 MB / 1.147 GB, free: 8.613 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.002189/0.518, allocations: 0.5174 MB / 1.148 GB, free: 8.09 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005921/0.5186, allocations: 135.4 kB / 1.148 GB, free: 7.957 MB / 0.9044 GB Notification: Performance of SimCode: time 8.02e-07/0.5186, allocations: 0 / 1.148 GB, free: 7.957 MB / 0.9044 GB Notification: Performance of Templates: time 0.07648/0.5951, allocations: 42.23 MB / 1.189 GB, free: 14.3 MB / 0.9512 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=480 -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/jenkins/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