Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.EulerReducedSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pow1|eff1.WHyd|pow2|eff2.WHyd|pow3|eff3.WHyd",fileNamePrefix="Buildings_latest_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_latest_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.001352/0.001352, allocations: 100 kB / 16.35 MB, free: 5.824 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.0014/0.0014, allocations: 196.6 kB / 17.29 MB, free: 5.48 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.417/1.417, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.531/2.531, allocations: 442.5 MB / 0.7165 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002063/0.002064, allocations: 68.77 kB / 0.8773 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3177/0.3198, allocations: 153 MB / 1.027 GB, free: 2.027 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed): time 0.006661/0.3265, allocations: 4.928 MB / 1.032 GB, free: 13.08 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.009616/0.3362, allocations: 5.568 MB / 1.037 GB, free: 7.492 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001014/0.3373, allocations: 23.94 kB / 1.037 GB, free: 7.469 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.01301/0.3503, allocations: 7.885 MB / 1.045 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.002685/0.3531, allocations: 1.093 MB / 1.046 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.002402/0.3555, allocations: 1.193 MB / 1.047 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.01964/0.3751, allocations: 13.52 MB / 1.06 GB, free: 15.74 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003463/0.3755, allocations: 154.8 kB / 1.06 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001359/0.3769, allocations: 0.837 MB / 1.061 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001012/0.3779, allocations: 0.8443 MB / 1.062 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.000176/0.3781, allocations: 92 kB / 1.062 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002328/0.3804, allocations: 1.376 MB / 1.063 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0009371/0.3814, allocations: 1.138 MB / 1.064 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001151/0.3825, allocations: 1.247 MB / 1.066 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.004416/0.3869, allocations: 3.975 MB / 1.07 GB, free: 6.039 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.387, allocations: 0 / 1.07 GB, free: 6.039 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.334e-06/0.387, allocations: 0 / 1.07 GB, free: 6.039 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.422e-05/0.387, allocations: 0 / 1.07 GB, free: 6.039 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.005669/0.3927, allocations: 3.052 MB / 1.073 GB, free: 2.922 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.3928, allocations: 8.031 kB / 1.073 GB, free: 2.914 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003843/0.3966, allocations: 0.7185 MB / 1.073 GB, free: 2.191 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5576/0.9542, allocations: 4.225 MB / 1.077 GB, free: 52.97 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.848e-05/0.9543, allocations: 32.91 kB / 1.077 GB, free: 52.96 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002207/0.9546, allocations: 51.69 kB / 1.077 GB, free: 52.94 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002298/0.9569, allocations: 0.99 MB / 1.078 GB, free: 52.68 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.9569, allocations: 0 / 1.078 GB, free: 52.68 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.602e-05/0.957, allocations: 12.09 kB / 1.078 GB, free: 52.67 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.317e-05/0.957, allocations: 7.562 kB / 1.078 GB, free: 52.67 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002253/0.9592, allocations: 0.8491 MB / 1.079 GB, free: 52.49 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01097/0.9702, allocations: 3.218 MB / 1.082 GB, free: 51.19 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002833/0.9731, allocations: 1.14 MB / 1.084 GB, free: 50.88 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001124/0.9743, allocations: 451.4 kB / 1.084 GB, free: 50.77 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 9.098e-05/0.9744, allocations: 20.59 kB / 1.084 GB, free: 50.77 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.476e-05/0.9744, allocations: 34.12 kB / 1.084 GB, free: 50.73 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=33): time 2.625e-06/0.9744, allocations: 0 / 1.084 GB, free: 50.73 MB / 0.8419 GB Notification: Performance of matching and sorting (n=33): time 0.005376/0.9798, allocations: 1.631 MB / 1.086 GB, free: 50.24 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.153e-05/0.9799, allocations: 59.56 kB / 1.086 GB, free: 50.17 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008167/0.988, allocations: 3.699 MB / 1.089 GB, free: 48.86 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0004596/0.9885, allocations: 42.89 kB / 1.089 GB, free: 48.81 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.000942/0.9895, allocations: 1.004 MB / 1.09 GB, free: 48.05 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002108/0.9897, allocations: 127.3 kB / 1.09 GB, free: 47.96 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009338/0.9906, allocations: 0.5128 MB / 1.091 GB, free: 47.77 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 7.091e-05/0.9907, allocations: 309.8 kB / 1.091 GB, free: 47.47 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003047/0.9938, allocations: 1.817 MB / 1.093 GB, free: 46.89 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003365/0.9972, allocations: 2.355 MB / 1.095 GB, free: 45.79 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005619/1.003, allocations: 3.867 MB / 1.099 GB, free: 44.2 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.985e-05/1.003, allocations: 3.25 kB / 1.099 GB, free: 44.2 MB / 0.8419 GB Notification: Performance of matching and sorting (n=303) (initialization): time 0.007951/1.011, allocations: 4.475 MB / 1.103 GB, free: 42.67 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.397e-05/1.011, allocations: 9.594 kB / 1.103 GB, free: 42.67 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.694e-05/1.011, allocations: 11.25 kB / 1.103 GB, free: 42.67 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.282e-05/1.011, allocations: 20.02 kB / 1.103 GB, free: 42.67 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001592/1.013, allocations: 384.3 kB / 1.104 GB, free: 42.63 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.543e-05/1.013, allocations: 28.55 kB / 1.104 GB, free: 42.62 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002535/1.015, allocations: 264.1 kB / 1.104 GB, free: 42.48 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002523/1.015, allocations: 105.8 kB / 1.104 GB, free: 42.47 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004009/1.019, allocations: 2.16 MB / 1.106 GB, free: 41.69 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002883/1.022, allocations: 2.062 MB / 1.108 GB, free: 40.68 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004973/1.027, allocations: 3.289 MB / 1.112 GB, free: 39.23 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.51e-05/1.027, allocations: 3.125 kB / 1.112 GB, free: 39.23 MB / 0.8419 GB Notification: Performance of matching and sorting (n=303) (initialization_lambda0): time 0.007882/1.035, allocations: 3.888 MB / 1.115 GB, free: 37.88 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.592e-05/1.035, allocations: 11.53 kB / 1.115 GB, free: 37.88 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.457e-05/1.035, allocations: 11.72 kB / 1.115 GB, free: 37.88 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.081e-05/1.035, allocations: 20.22 kB / 1.115 GB, free: 37.88 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001489/1.037, allocations: 372.9 kB / 1.116 GB, free: 37.84 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.456e-05/1.037, allocations: 24.88 kB / 1.116 GB, free: 37.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003284/1.04, allocations: 219.4 kB / 1.116 GB, free: 37.75 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003213/1.041, allocations: 97.67 kB / 1.116 GB, free: 37.73 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (187): * Single equations (assignments): 180 * Array equations: 3 * 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.0006611/1.041, allocations: 257.1 kB / 1.116 GB, free: 37.49 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001379/1.043, allocations: 256.2 kB / 1.117 GB, free: 37.34 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004838/1.047, allocations: 1.241 MB / 1.118 GB, free: 36.97 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/1.048, allocations: 7.531 kB / 1.118 GB, free: 36.96 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/1.048, allocations: 4.641 kB / 1.118 GB, free: 36.96 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.718e-06/1.048, allocations: 2.938 kB / 1.118 GB, free: 36.96 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004739/1.052, allocations: 1.521 MB / 1.119 GB, free: 36.31 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/1.052, allocations: 0 / 1.119 GB, free: 36.31 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001065/1.053, allocations: 127.2 kB / 1.119 GB, free: 36.3 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.141e-05/1.053, allocations: 3.438 kB / 1.119 GB, free: 36.3 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.85e-05/1.054, allocations: 11.92 kB / 1.119 GB, free: 36.29 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.686e-06/1.054, allocations: 1.938 kB / 1.119 GB, free: 36.29 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/1.054, allocations: 3.938 kB / 1.119 GB, free: 36.29 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004271/1.058, allocations: 1.298 MB / 1.121 GB, free: 35.77 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001972/1.06, allocations: 489.8 kB / 1.121 GB, free: 35.44 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006035/1.06, allocations: 5.766 kB / 1.121 GB, free: 35.43 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001522/1.062, allocations: 73.02 kB / 1.121 GB, free: 35.42 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/1.062, allocations: 33.3 kB / 1.121 GB, free: 35.41 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-05/1.062, allocations: 22.25 kB / 1.121 GB, free: 35.41 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.005988/1.068, allocations: 2.482 MB / 1.124 GB, free: 34.54 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.8e-07/1.068, allocations: 0 / 1.124 GB, free: 34.54 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.005416/1.074, allocations: 1.024 MB / 1.125 GB, free: 34.46 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.001779/1.075, allocations: 487.4 kB / 1.125 GB, free: 34.34 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.008778/1.084, allocations: 4.548 MB / 1.13 GB, free: 32.67 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/1.084, allocations: 8.312 kB / 1.13 GB, free: 32.66 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.00126/1.086, allocations: 475.4 kB / 1.13 GB, free: 32.2 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008087/1.094, allocations: 1.324 MB / 1.131 GB, free: 30.92 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01124/1.105, allocations: 4.299 MB / 1.136 GB, free: 26.59 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002365/1.107, allocations: 1.789 MB / 1.137 GB, free: 24.77 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.004559/1.112, allocations: 0.7863 MB / 1.138 GB, free: 23.98 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001438/1.113, allocations: 211.3 kB / 1.138 GB, free: 23.77 MB / 0.8419 GB Notification: Performance of SimCode: time 1.593e-06/1.113, allocations: 0 / 1.138 GB, free: 23.77 MB / 0.8419 GB Notification: Performance of Templates: time 0.1023/1.216, allocations: 56.57 MB / 1.194 GB, free: 180 kB / 0.8731 GB make -j1 -f Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.makefile (rm -f Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.sim & ./Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Movers_BaseClasses_Validation_EulerReducedSpeed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches