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.001412/0.001412, 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.001634/0.001635, allocations: 192.7 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.392/1.392, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.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.591/2.591, allocations: 437 MB / 0.7103 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 59.91 kB / 0.8692 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8108/0.8122, allocations: 151.6 MB / 1.017 GB, free: 2.555 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed): time 0.007092/0.8193, allocations: 4.911 MB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.01013/0.8295, allocations: 5.569 MB / 1.027 GB, free: 8.035 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001215/0.8307, allocations: 23.94 kB / 1.028 GB, free: 8.012 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0133/0.8441, allocations: 7.888 MB / 1.035 GB, free: 116 kB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.002998/0.8471, allocations: 1.097 MB / 1.036 GB, free: 15.01 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.002932/0.8501, allocations: 1.178 MB / 1.037 GB, free: 13.84 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.01834/0.8684, allocations: 11.84 MB / 1.049 GB, free: 2.004 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004261/0.8689, allocations: 147 kB / 1.049 GB, free: 1.844 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001554/0.8704, allocations: 0.8293 MB / 1.05 GB, free: 1.012 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001389/0.8718, allocations: 0.856 MB / 1.051 GB, free: 156 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0003542/0.8722, allocations: 96 kB / 1.051 GB, free: 60 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002644/0.8748, allocations: 1.369 MB / 1.052 GB, free: 14.69 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.001143/0.876, allocations: 1.149 MB / 1.053 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.001536/0.8775, allocations: 1.243 MB / 1.055 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.004336/0.8819, allocations: 3.956 MB / 1.058 GB, free: 8.316 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.8819, allocations: 4 kB / 1.058 GB, free: 8.312 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.923e-06/0.8819, allocations: 0 / 1.058 GB, free: 8.312 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.661e-05/0.882, allocations: 0 / 1.058 GB, free: 8.312 MB / 0.8106 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.005099/0.8871, allocations: 3.048 MB / 1.061 GB, free: 5.199 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.8871, allocations: 11.97 kB / 1.061 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003859/0.891, allocations: 0.7146 MB / 1.062 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006049/0.8971, allocations: 4.167 MB / 1.066 GB, free: 252 kB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.729e-05/0.8971, allocations: 37.11 kB / 1.066 GB, free: 212 kB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001209/0.8973, allocations: 59.86 kB / 1.066 GB, free: 152 kB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001849/0.8991, allocations: 0.9923 MB / 1.067 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.8991, allocations: 0 / 1.067 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.223e-05/0.8992, allocations: 11.94 kB / 1.067 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/0.8992, allocations: 11.94 kB / 1.067 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00211/0.9013, allocations: 0.8454 MB / 1.068 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005169/0.9065, allocations: 3.261 MB / 1.071 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002288/0.9088, allocations: 1.144 MB / 1.072 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001052/0.9099, allocations: 445.1 kB / 1.073 GB, free: 9.371 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 6.61e-05/0.91, allocations: 28.25 kB / 1.073 GB, free: 9.344 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.747e-05/0.91, allocations: 34.78 kB / 1.073 GB, free: 9.301 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=33): time 2.033e-06/0.91, allocations: 0 / 1.073 GB, free: 9.301 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33): time 0.003956/0.914, allocations: 1.627 MB / 1.074 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.605e-05/0.914, allocations: 55.41 kB / 1.075 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004793/0.9188, allocations: 3.743 MB / 1.078 GB, free: 3.859 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 9.95e-05/0.9189, allocations: 45.69 kB / 1.078 GB, free: 3.809 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008932/0.9198, allocations: 0.9811 MB / 1.079 GB, free: 2.82 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001382/0.92, allocations: 138.3 kB / 1.079 GB, free: 2.684 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007506/0.9207, allocations: 0.5636 MB / 1.08 GB, free: 2.117 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.272e-05/0.9208, allocations: 305.1 kB / 1.08 GB, free: 1.816 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00281/0.9236, allocations: 1.924 MB / 1.082 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00317/0.9268, allocations: 2.45 MB / 1.084 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005474/0.9323, allocations: 4.028 MB / 1.088 GB, free: 9.062 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-06/0.9323, allocations: 8 kB / 1.088 GB, free: 9.055 MB / 0.8419 GB Notification: Performance of matching and sorting (n=333) (initialization): time 0.007046/0.9394, allocations: 4.694 MB / 1.093 GB, free: 4.316 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.59e-05/0.9394, allocations: 12 kB / 1.093 GB, free: 4.305 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.954e-05/0.9395, allocations: 8 kB / 1.093 GB, free: 4.297 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.369e-05/0.9395, allocations: 20 kB / 1.093 GB, free: 4.277 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001561/0.9411, allocations: 423.5 kB / 1.093 GB, free: 3.863 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.322e-05/0.9411, allocations: 23.92 kB / 1.093 GB, free: 3.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001917/0.943, allocations: 265.5 kB / 1.094 GB, free: 3.578 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000168/0.9432, allocations: 116 kB / 1.094 GB, free: 3.465 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003269/0.9465, allocations: 2.265 MB / 1.096 GB, free: 1.195 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002834/0.9493, allocations: 2.161 MB / 1.098 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005113/0.9545, allocations: 3.458 MB / 1.101 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.527e-05/0.9545, allocations: 4 kB / 1.101 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of matching and sorting (n=333) (initialization_lambda0): time 0.006804/0.9613, allocations: 4.105 MB / 1.105 GB, free: 7.082 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.9613, allocations: 15.94 kB / 1.106 GB, free: 7.066 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.469e-05/0.9613, allocations: 8 kB / 1.106 GB, free: 7.059 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.9614, allocations: 20 kB / 1.106 GB, free: 7.039 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00156/0.9629, allocations: 411.5 kB / 1.106 GB, free: 6.637 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.298e-05/0.963, allocations: 23.94 kB / 1.106 GB, free: 6.613 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002205/0.9652, allocations: 219.7 kB / 1.106 GB, free: 6.398 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000162/0.9654, allocations: 104 kB / 1.106 GB, free: 6.297 MB / 0.8575 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.0004185/0.9658, allocations: 263.7 kB / 1.107 GB, free: 6.031 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004569/0.9662, allocations: 260.4 kB / 1.107 GB, free: 5.773 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00308/0.9693, allocations: 1.233 MB / 1.108 GB, free: 4.531 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.9693, allocations: 4 kB / 1.108 GB, free: 4.527 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.9694, allocations: 0 / 1.108 GB, free: 4.527 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.097e-05/0.9694, allocations: 3.984 kB / 1.108 GB, free: 4.523 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001993/0.9714, allocations: 1.525 MB / 1.109 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.9714, allocations: 0 / 1.109 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007603/0.9722, allocations: 127.8 kB / 1.11 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.647e-06/0.9722, allocations: 7.984 kB / 1.11 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.877e-05/0.9722, allocations: 12 kB / 1.11 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.271e-05/0.9722, allocations: 4 kB / 1.11 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.9722, allocations: 3.938 kB / 1.11 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002591/0.9748, allocations: 1.293 MB / 1.111 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009591/0.9758, allocations: 497.2 kB / 1.111 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000451/0.9763, allocations: 15.94 kB / 1.111 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001018/0.9773, allocations: 71.92 kB / 1.111 GB, free: 0.8945 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.639e-05/0.9774, allocations: 23.97 kB / 1.111 GB, free: 0.8711 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.219e-05/0.9775, allocations: 23.98 kB / 1.111 GB, free: 0.8477 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.003755/0.9812, allocations: 2.493 MB / 1.114 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of sort global known variables: time 5.21e-07/0.9812, allocations: 0 / 1.114 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.003263/0.9845, allocations: 1.07 MB / 1.115 GB, free: 13.3 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 (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.001144/0.9857, allocations: 492 kB / 1.115 GB, free: 12.8 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.007561/0.9932, allocations: 4.865 MB / 1.12 GB, free: 7.941 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.9932, allocations: 6 kB / 1.12 GB, free: 7.938 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001107/0.9944, allocations: 475.6 kB / 1.121 GB, free: 7.473 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004636/0.999, allocations: 1.263 MB / 1.122 GB, free: 6.234 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00781/1.007, allocations: 4.378 MB / 1.126 GB, free: 1.82 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001588/1.008, allocations: 1.777 MB / 1.128 GB, free: 12 kB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.003037/1.011, allocations: 0.7739 MB / 1.129 GB, free: 15.23 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006939/1.012, allocations: 207.3 kB / 1.129 GB, free: 15.03 MB / 0.8887 GB Notification: Performance of SimCode: time 6.82e-07/1.012, allocations: 0 / 1.129 GB, free: 15.03 MB / 0.8887 GB Notification: Performance of Templates: time 0.0955/1.108, allocations: 59.11 MB / 1.187 GB, free: 4.762 MB / 0.9356 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/jenkins/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