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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001178/0.001178, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.001218/0.001218, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.366/1.366, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.64/2.64, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001487, allocations: 67.89 kB / 1.055 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.833/0.8345, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison): time 0.005162/0.8397, allocations: 3.761 MB / 1.212 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.007553/0.8473, allocations: 4.88 MB / 1.217 GB, free: 4.953 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005336/0.8479, allocations: 19.94 kB / 1.217 GB, free: 4.934 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.003637/0.8516, allocations: 1.397 MB / 1.218 GB, free: 3.535 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001616/0.8532, allocations: 0.785 MB / 1.219 GB, free: 2.75 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001752/0.855, allocations: 0.8423 MB / 1.22 GB, free: 1.906 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.01777/0.8727, allocations: 12.8 MB / 1.232 GB, free: 5.094 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003264/0.8731, allocations: 85.77 kB / 1.232 GB, free: 5.004 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001171/0.8743, allocations: 0.5918 MB / 1.233 GB, free: 4.41 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007271/0.875, allocations: 0.5876 MB / 1.234 GB, free: 3.82 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001291/0.8752, allocations: 72 kB / 1.234 GB, free: 3.75 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001549/0.8767, allocations: 0.8306 MB / 1.234 GB, free: 2.918 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0006199/0.8773, allocations: 0.7987 MB / 1.235 GB, free: 2.117 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.000723/0.8781, allocations: 0.8391 MB / 1.236 GB, free: 1.273 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.002614/0.8807, allocations: 2.527 MB / 1.239 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.8807, allocations: 4 kB / 1.239 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.663e-06/0.8807, allocations: 8 kB / 1.239 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.822e-05/0.8808, allocations: 0 / 1.239 GB, free: 14.73 MB / 0.9669 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.003632/0.8844, allocations: 2.196 MB / 1.241 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.8844, allocations: 8.031 kB / 1.241 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002522/0.887, allocations: 489.2 kB / 1.241 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004506/0.8915, allocations: 2.82 MB / 1.244 GB, free: 9.09 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.707e-05/0.8915, allocations: 23.94 kB / 1.244 GB, free: 9.066 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.803e-05/0.8916, allocations: 31.98 kB / 1.244 GB, free: 9.035 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001269/0.8929, allocations: 0.6534 MB / 1.245 GB, free: 8.375 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.8929, allocations: 0 / 1.245 GB, free: 8.375 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.615e-05/0.893, allocations: 4 kB / 1.245 GB, free: 8.371 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.893, allocations: 8 kB / 1.245 GB, free: 8.363 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001468/0.8945, allocations: 0.5347 MB / 1.245 GB, free: 7.828 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003755/0.8982, allocations: 2.221 MB / 1.247 GB, free: 5.543 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001636/0.8999, allocations: 0.7114 MB / 1.248 GB, free: 4.824 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007205/0.9006, allocations: 276.7 kB / 1.248 GB, free: 4.551 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.221e-05/0.9007, allocations: 11.92 kB / 1.248 GB, free: 4.539 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.743e-05/0.9007, allocations: 38.56 kB / 1.248 GB, free: 4.492 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=21): time 2.505e-06/0.9007, allocations: 0 / 1.248 GB, free: 4.492 MB / 0.9669 GB Notification: Performance of matching and sorting (n=21): time 0.002752/0.9035, allocations: 1.014 MB / 1.249 GB, free: 3.469 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.468e-05/0.9035, allocations: 55.41 kB / 1.249 GB, free: 3.402 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00356/0.9071, allocations: 2.676 MB / 1.252 GB, free: 0.6953 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001103/0.9072, allocations: 41.64 kB / 1.252 GB, free: 0.6484 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006052/0.9078, allocations: 0.6683 MB / 1.253 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.26e-05/0.9079, allocations: 78.94 kB / 1.253 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004686/0.9084, allocations: 354.2 kB / 1.253 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.9085, allocations: 305.1 kB / 1.253 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001623/0.9101, allocations: 1.091 MB / 1.254 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001881/0.912, allocations: 1.456 MB / 1.256 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003262/0.9153, allocations: 2.313 MB / 1.258 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.244e-05/0.9153, allocations: 7.938 kB / 1.258 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.004465/0.9198, allocations: 2.737 MB / 1.261 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.008e-05/0.9198, allocations: 10.03 kB / 1.261 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.189e-05/0.9199, allocations: 8 kB / 1.261 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.074e-05/0.9199, allocations: 15.94 kB / 1.261 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001038/0.921, allocations: 259.7 kB / 1.261 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.672e-05/0.921, allocations: 15.94 kB / 1.261 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001766/0.9228, allocations: 218.4 kB / 1.261 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001425/0.9229, allocations: 75.97 kB / 1.261 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002195/0.9251, allocations: 1.393 MB / 1.263 GB, free: 5.434 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001737/0.9269, allocations: 1.292 MB / 1.264 GB, free: 4.035 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002951/0.9298, allocations: 2.02 MB / 1.266 GB, free: 1.914 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.147e-06/0.9299, allocations: 4 kB / 1.266 GB, free: 1.91 MB / 0.9825 GB Notification: Performance of matching and sorting (n=196) (initialization_lambda0): time 0.004071/0.9339, allocations: 2.42 MB / 1.268 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.934, allocations: 8 kB / 1.268 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/0.934, allocations: 8 kB / 1.268 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.934, allocations: 16.03 kB / 1.268 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000977/0.935, allocations: 247.6 kB / 1.269 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.958e-05/0.935, allocations: 23.91 kB / 1.269 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001771/0.9368, allocations: 175.7 kB / 1.269 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001232/0.937, allocations: 63.98 kB / 1.269 GB, free: 14.95 MB / 0.9981 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.0003211/0.9373, allocations: 236 kB / 1.269 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005316/0.9378, allocations: 169.7 kB / 1.269 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002233/0.9401, allocations: 0.8078 MB / 1.27 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.9401, allocations: 4 kB / 1.27 GB, free: 13.72 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.9401, allocations: 4.125 kB / 1.27 GB, free: 13.72 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.822e-06/0.9401, allocations: 3.984 kB / 1.27 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001731/0.9418, allocations: 1.051 MB / 1.271 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.9419, allocations: 7.875 kB / 1.271 GB, free: 12.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005221/0.9424, allocations: 83.92 kB / 1.271 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.081e-06/0.9424, allocations: 0 / 1.271 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.801e-05/0.9424, allocations: 15.98 kB / 1.271 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.9425, allocations: 3.938 kB / 1.271 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.9425, allocations: 0 / 1.271 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001887/0.9444, allocations: 0.861 MB / 1.272 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006879/0.945, allocations: 358.6 kB / 1.272 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003729/0.9454, allocations: 0 / 1.272 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001101/0.9465, allocations: 83.89 kB / 1.272 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.983e-05/0.9466, allocations: 23.97 kB / 1.272 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.3e-05/0.9467, allocations: 12 kB / 1.272 GB, free: 11.13 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002946/0.9496, allocations: 1.835 MB / 1.274 GB, free: 9.281 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.21e-07/0.9496, allocations: 0 / 1.274 GB, free: 9.281 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002051/0.9517, allocations: 0.6795 MB / 1.275 GB, free: 8.602 MB / 0.9981 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.0008782/0.9526, allocations: 382.8 kB / 1.275 GB, free: 8.215 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004509/0.9571, allocations: 2.772 MB / 1.278 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.9571, allocations: 0 / 1.278 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007591/0.9579, allocations: 292.1 kB / 1.278 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003831/0.9617, allocations: 0.9027 MB / 1.279 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005453/0.9672, allocations: 2.95 MB / 1.282 GB, free: 1.277 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001254/0.9685, allocations: 1.412 MB / 1.283 GB, free: 15.84 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006925/0.9692, allocations: 139.4 kB / 1.284 GB, free: 15.7 MB / 1.014 GB Notification: Performance of SimCode: time 6.61e-07/0.9692, allocations: 0 / 1.284 GB, free: 15.7 MB / 1.014 GB Notification: Performance of Templates: time 0.04374/1.013, allocations: 30.77 MB / 1.314 GB, free: 1.266 MB / 1.029 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/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