Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.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.EulerReducedSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pow1|eff1.WHyd|pow2|eff2.WHyd|pow3|eff3.WHyd",fileNamePrefix="Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed") translateModel(Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pow1|eff1.WHyd|pow2|eff2.WHyd|pow3|eff3.WHyd",fileNamePrefix="Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 103.4 kB / 16.27 MB, free: 5.98 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.001304/0.001304, allocations: 189.8 kB / 17.19 MB, free: 5.605 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.333/1.333, allocations: 222.9 MB / 240.9 MB, free: 15.18 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.403/2.403, allocations: 437 MB / 0.711 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001525/0.001525, allocations: 68.36 kB / 0.8699 GB, free: 2.262 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3057/0.3072, allocations: 151.6 MB / 1.018 GB, free: 10.71 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed): time 0.007137/0.3144, allocations: 4.916 MB / 1.023 GB, free: 5.762 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.009822/0.3243, allocations: 5.567 MB / 1.028 GB, free: 188 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001258/0.3256, allocations: 27.94 kB / 1.028 GB, free: 160 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.01406/0.3397, allocations: 7.888 MB / 1.036 GB, free: 8.254 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.003092/0.3429, allocations: 1.097 MB / 1.037 GB, free: 7.156 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.003039/0.3459, allocations: 1.178 MB / 1.038 GB, free: 5.977 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.02077/0.3667, allocations: 11.84 MB / 1.05 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006267/0.3673, allocations: 162.9 kB / 1.05 GB, free: 9.977 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002095/0.3695, allocations: 0.8332 MB / 1.051 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001794/0.3713, allocations: 0.8482 MB / 1.051 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0005253/0.3718, allocations: 96 kB / 1.052 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003555/0.3754, allocations: 1.369 MB / 1.053 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.001789/0.3772, allocations: 1.141 MB / 1.054 GB, free: 5.68 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.003238/0.3805, allocations: 1.247 MB / 1.055 GB, free: 4.426 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.007262/0.3877, allocations: 3.956 MB / 1.059 GB, free: 468 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.3878, allocations: 0 / 1.059 GB, free: 468 kB / 0.8262 GB Notification: Performance of FrontEnd: time 2.104e-06/0.3878, allocations: 0 / 1.059 GB, free: 468 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0001273/0.3879, allocations: 4 kB / 1.059 GB, free: 464 kB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.007251/0.3952, allocations: 3.048 MB / 1.062 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.3953, allocations: 11.97 kB / 1.062 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004217/0.3995, allocations: 0.7146 MB / 1.063 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007556/0.4071, allocations: 4.171 MB / 1.067 GB, free: 8.383 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.14e-05/0.4072, allocations: 33.12 kB / 1.067 GB, free: 8.348 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002446/0.4074, allocations: 51.94 kB / 1.067 GB, free: 8.297 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001976/0.4094, allocations: 0.9962 MB / 1.068 GB, free: 7.297 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.4095, allocations: 0 / 1.068 GB, free: 7.297 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.977e-05/0.4095, allocations: 11.94 kB / 1.068 GB, free: 7.285 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.4096, allocations: 8 kB / 1.068 GB, free: 7.277 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002193/0.4118, allocations: 0.8493 MB / 1.069 GB, free: 6.43 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006762/0.4185, allocations: 3.257 MB / 1.072 GB, free: 3.113 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002375/0.4209, allocations: 1.142 MB / 1.073 GB, free: 1.965 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001047/0.422, allocations: 457.7 kB / 1.074 GB, free: 1.516 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 7.639e-05/0.4221, allocations: 12.28 kB / 1.074 GB, free: 1.504 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/0.4221, allocations: 38.78 kB / 1.074 GB, free: 1.457 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=33): time 3.176e-06/0.4222, allocations: 4 kB / 1.074 GB, free: 1.453 MB / 0.8419 GB Notification: Performance of matching and sorting (n=33): time 0.4906/0.9128, allocations: 1.622 MB / 1.075 GB, free: 60.06 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.164e-05/0.9129, allocations: 58.34 kB / 1.075 GB, free: 60 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006897/0.9198, allocations: 3.748 MB / 1.079 GB, free: 59.29 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0002966/0.9201, allocations: 40.73 kB / 1.079 GB, free: 59.25 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009352/0.9211, allocations: 0.987 MB / 1.08 GB, free: 58.57 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001925/0.9213, allocations: 129.9 kB / 1.08 GB, free: 58.55 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009422/0.9222, allocations: 0.5685 MB / 1.081 GB, free: 58.36 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 5.189e-05/0.9223, allocations: 306.5 kB / 1.081 GB, free: 58.06 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003126/0.9254, allocations: 1.919 MB / 1.083 GB, free: 57.45 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003679/0.9291, allocations: 2.46 MB / 1.085 GB, free: 56.32 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006536/0.9357, allocations: 4.024 MB / 1.089 GB, free: 54.66 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-05/0.9357, allocations: 3.281 kB / 1.089 GB, free: 54.66 MB / 0.8419 GB Notification: Performance of matching and sorting (n=333) (initialization): time 0.008307/0.944, allocations: 4.698 MB / 1.094 GB, free: 53.07 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.235e-05/0.9441, allocations: 10.42 kB / 1.094 GB, free: 53.07 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.045e-05/0.9441, allocations: 10.5 kB / 1.094 GB, free: 53.07 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.98e-05/0.9442, allocations: 18.97 kB / 1.094 GB, free: 53.07 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001709/0.9459, allocations: 425.7 kB / 1.094 GB, free: 53.02 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.56e-05/0.946, allocations: 28.97 kB / 1.094 GB, free: 53.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002563/0.9485, allocations: 258.9 kB / 1.094 GB, free: 52.91 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003149/0.9489, allocations: 118.5 kB / 1.094 GB, free: 52.89 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00391/0.9528, allocations: 2.255 MB / 1.097 GB, free: 52.08 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002975/0.9558, allocations: 2.167 MB / 1.099 GB, free: 51.04 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004933/0.9607, allocations: 3.457 MB / 1.102 GB, free: 49.55 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.657e-05/0.9608, allocations: 3.594 kB / 1.102 GB, free: 49.55 MB / 0.8419 GB Notification: Performance of matching and sorting (n=333) (initialization_lambda0): time 0.007013/0.9678, allocations: 4.105 MB / 1.106 GB, free: 48.1 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.75e-05/0.9679, allocations: 11.45 kB / 1.106 GB, free: 48.1 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.693e-05/0.9679, allocations: 10.22 kB / 1.106 GB, free: 48.1 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.971e-05/0.9679, allocations: 23 kB / 1.106 GB, free: 48.09 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001596/0.9695, allocations: 412.9 kB / 1.107 GB, free: 48.05 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.667e-05/0.9696, allocations: 24.92 kB / 1.107 GB, free: 48.05 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002539/0.9721, allocations: 223.2 kB / 1.107 GB, free: 47.95 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00021/0.9724, allocations: 105 kB / 1.107 GB, free: 47.93 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (213): * Single equations (assignments): 204 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 6 * 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.0004736/0.9728, allocations: 253.5 kB / 1.107 GB, free: 47.69 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006382/0.9735, allocations: 255 kB / 1.107 GB, free: 47.54 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003133/0.9766, allocations: 1.244 MB / 1.109 GB, free: 47.16 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.735e-06/0.9766, allocations: 3.656 kB / 1.109 GB, free: 47.16 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.9767, allocations: 1.312 kB / 1.109 GB, free: 47.16 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.806e-06/0.9767, allocations: 2.016 kB / 1.109 GB, free: 47.16 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002673/0.9793, allocations: 1.512 MB / 1.11 GB, free: 46.53 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.9794, allocations: 1.906 kB / 1.11 GB, free: 46.53 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007708/0.9801, allocations: 129.1 kB / 1.11 GB, free: 46.52 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.9802, allocations: 1.469 kB / 1.11 GB, free: 46.52 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.273e-05/0.9802, allocations: 20.41 kB / 1.11 GB, free: 46.51 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.9802, allocations: 1.031 kB / 1.11 GB, free: 46.51 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.9802, allocations: 5.094 kB / 1.11 GB, free: 46.51 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003033/0.9833, allocations: 1.296 MB / 1.112 GB, free: 45.98 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001199/0.9845, allocations: 498.4 kB / 1.112 GB, free: 45.65 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000453/0.985, allocations: 10.25 kB / 1.112 GB, free: 45.64 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001084/0.986, allocations: 67.58 kB / 1.112 GB, free: 45.64 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/0.9862, allocations: 30.77 kB / 1.112 GB, free: 45.63 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.929e-05/0.9862, allocations: 21.88 kB / 1.112 GB, free: 45.63 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.00472/0.991, allocations: 2.498 MB / 1.115 GB, free: 44.75 MB / 0.8419 GB Notification: Performance of sort global known variables: time 4.31e-07/0.991, allocations: 0 / 1.115 GB, free: 44.75 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.004632/0.9956, allocations: 1.071 MB / 1.116 GB, free: 44.67 MB / 0.8419 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 (36): * Single equations (assignments): 36 * 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.001459/0.9971, allocations: 487.3 kB / 1.116 GB, free: 44.55 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.008564/1.006, allocations: 4.877 MB / 1.121 GB, free: 42.96 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/1.006, allocations: 3.5 kB / 1.121 GB, free: 42.96 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001082/1.007, allocations: 473.4 kB / 1.121 GB, free: 42.86 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005225/1.012, allocations: 1.265 MB / 1.123 GB, free: 42.45 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007971/1.02, allocations: 4.548 MB / 1.127 GB, free: 40.45 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001247/1.021, allocations: 1.782 MB / 1.129 GB, free: 39.2 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001011/1.022, allocations: 217.1 kB / 1.129 GB, free: 39 MB / 0.8419 GB Notification: Performance of SimCode: time 7.12e-07/1.022, allocations: 0 / 1.129 GB, free: 39 MB / 0.8419 GB Notification: Performance of Templates: time 0.05431/1.077, allocations: 44.96 MB / 1.173 GB, free: 10.89 MB / 0.8575 GB make -j1 -f Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.makefile (rm -f Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.pipe ; mkfifo Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.pipe >> ../files/Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.sim & ./Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Movers_BaseClasses_Validation_EulerReducedSpeed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches