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.007746/0.007747, allocations: 102.1 kB / 15.73 MB, free: 6.066 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.001721/0.001721, allocations: 193.1 kB / 16.68 MB, free: 5.973 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 / 240.4 MB, free: 15.14 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.455/2.455, allocations: 437 MB / 0.7105 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 64.12 kB / 1.019 GB, free: 9.391 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.822/0.8234, allocations: 151.6 MB / 1.167 GB, free: 3.824 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed): time 0.00626/0.8297, allocations: 4.905 MB / 1.171 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01072/0.8405, allocations: 5.563 MB / 1.177 GB, free: 9.312 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001457/0.842, allocations: 27.88 kB / 1.177 GB, free: 9.285 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.004769/0.8468, allocations: 1.497 MB / 1.178 GB, free: 7.785 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.003099/0.8499, allocations: 1.126 MB / 1.179 GB, free: 6.656 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002955/0.8529, allocations: 1.187 MB / 1.181 GB, free: 5.469 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.02159/0.8745, allocations: 13.58 MB / 1.194 GB, free: 7.879 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004337/0.875, allocations: 143 kB / 1.194 GB, free: 7.723 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001694/0.8767, allocations: 0.8565 MB / 1.195 GB, free: 6.863 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001593/0.8783, allocations: 0.8638 MB / 1.196 GB, free: 5.996 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0004272/0.8787, allocations: 96 kB / 1.196 GB, free: 5.902 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003284/0.882, allocations: 1.384 MB / 1.197 GB, free: 4.516 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.001402/0.8834, allocations: 1.153 MB / 1.198 GB, free: 3.359 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.002123/0.8856, allocations: 1.247 MB / 1.199 GB, free: 2.105 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.005667/0.8913, allocations: 4.016 MB / 1.203 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.8913, allocations: 0 / 1.203 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.683e-06/0.8913, allocations: 4 kB / 1.203 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.243e-05/0.8914, allocations: 0 / 1.203 GB, free: 14.07 MB / 0.9356 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.006895/0.8983, allocations: 3.167 MB / 1.206 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.784e-05/0.8983, allocations: 8.031 kB / 1.206 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004081/0.9024, allocations: 0.7319 MB / 1.207 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008036/0.9105, allocations: 4.376 MB / 1.211 GB, free: 5.664 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.251e-05/0.9106, allocations: 36.56 kB / 1.211 GB, free: 5.629 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001925/0.9108, allocations: 44 kB / 1.212 GB, free: 5.586 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001957/0.9127, allocations: 0.9962 MB / 1.213 GB, free: 4.582 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.9128, allocations: 4 kB / 1.213 GB, free: 4.578 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.594e-05/0.9128, allocations: 12 kB / 1.213 GB, free: 4.566 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.427e-06/0.9129, allocations: 4 kB / 1.213 GB, free: 4.562 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002161/0.915, allocations: 0.857 MB / 1.213 GB, free: 3.707 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006428/0.9215, allocations: 3.238 MB / 1.217 GB, free: 420 kB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00244/0.9239, allocations: 1.141 MB / 1.218 GB, free: 15.26 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001101/0.925, allocations: 453.7 kB / 1.218 GB, free: 14.81 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 7.742e-05/0.9251, allocations: 24.11 kB / 1.218 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/0.9252, allocations: 42.72 kB / 1.218 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=33): time 2.474e-06/0.9252, allocations: 0 / 1.218 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of matching and sorting (n=33): time 0.004288/0.9295, allocations: 1.632 MB / 1.22 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.023e-05/0.9295, allocations: 55.41 kB / 1.22 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006319/0.9359, allocations: 3.818 MB / 1.224 GB, free: 9.223 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001644/0.936, allocations: 41.7 kB / 1.224 GB, free: 9.176 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001054/0.9371, allocations: 0.9976 MB / 1.225 GB, free: 8.172 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001983/0.9373, allocations: 142.9 kB / 1.225 GB, free: 8.031 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008681/0.9382, allocations: 0.5119 MB / 1.225 GB, free: 7.512 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.9383, allocations: 305.1 kB / 1.225 GB, free: 7.211 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002825/0.9411, allocations: 1.825 MB / 1.227 GB, free: 5.383 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003153/0.9443, allocations: 2.351 MB / 1.23 GB, free: 2.855 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005335/0.9497, allocations: 3.864 MB / 1.233 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.23e-05/0.9497, allocations: 4 kB / 1.233 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of matching and sorting (n=303) (initialization): time 0.007338/0.957, allocations: 4.492 MB / 1.238 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.629e-05/0.9571, allocations: 11.94 kB / 1.238 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.265e-05/0.9571, allocations: 12 kB / 1.238 GB, free: 10.31 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.455e-05/0.9571, allocations: 20.09 kB / 1.238 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001522/0.9587, allocations: 379.5 kB / 1.238 GB, free: 9.922 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.718e-05/0.9587, allocations: 31.86 kB / 1.238 GB, free: 9.891 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002322/0.961, allocations: 266.3 kB / 1.238 GB, free: 9.629 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002195/0.9613, allocations: 108 kB / 1.238 GB, free: 9.523 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003539/0.9648, allocations: 2.163 MB / 1.241 GB, free: 7.355 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002826/0.9677, allocations: 2.053 MB / 1.243 GB, free: 5.133 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00482/0.9725, allocations: 3.295 MB / 1.246 GB, free: 1.684 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.206e-05/0.9725, allocations: 7.984 kB / 1.246 GB, free: 1.676 MB / 0.9669 GB Notification: Performance of matching and sorting (n=303) (initialization_lambda0): time 0.006382/0.9789, allocations: 3.9 MB / 1.25 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.678e-05/0.979, allocations: 8 kB / 1.25 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.918e-05/0.979, allocations: 15.94 kB / 1.25 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.222e-05/0.979, allocations: 16 kB / 1.25 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001481/0.9805, allocations: 379.6 kB / 1.25 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.957e-05/0.9805, allocations: 27.88 kB / 1.25 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002299/0.9828, allocations: 219 kB / 1.25 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001814/0.983, allocations: 95.98 kB / 1.25 GB, free: 13.02 MB / 0.9825 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.0003909/0.9834, allocations: 251.8 kB / 1.251 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006853/0.9841, allocations: 270 kB / 1.251 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003099/0.9872, allocations: 1.238 MB / 1.252 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.9873, allocations: 4 kB / 1.252 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.9873, allocations: 4 kB / 1.252 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.712e-05/0.9873, allocations: 11.92 kB / 1.252 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002877/0.9902, allocations: 1.517 MB / 1.254 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.9902, allocations: 0 / 1.254 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007457/0.991, allocations: 127.8 kB / 1.254 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.977e-06/0.991, allocations: 7.938 kB / 1.254 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.478e-05/0.991, allocations: 11.98 kB / 1.254 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.991, allocations: 3.984 kB / 1.254 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.991, allocations: 4 kB / 1.254 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003005/0.9941, allocations: 1.318 MB / 1.255 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001334/0.9954, allocations: 0.495 MB / 1.255 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006767/0.9961, allocations: 11.94 kB / 1.256 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001338/0.9974, allocations: 67.92 kB / 1.256 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.204e-05/0.9975, allocations: 27.97 kB / 1.256 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.72e-05/0.9976, allocations: 19.98 kB / 1.256 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.004747/1.002, allocations: 2.571 MB / 1.258 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of sort global known variables: time 4.51e-07/1.002, allocations: 0 / 1.258 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.003719/1.006, allocations: 1.03 MB / 1.259 GB, free: 3.953 MB / 0.9825 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.001525/1.008, allocations: 494.6 kB / 1.26 GB, free: 3.461 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.007408/1.015, allocations: 4.541 MB / 1.264 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/1.015, allocations: 384 / 1.264 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001137/1.016, allocations: 475.6 kB / 1.264 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005737/1.022, allocations: 1.327 MB / 1.266 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007715/1.03, allocations: 4.267 MB / 1.27 GB, free: 8.848 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001901/1.032, allocations: 1.777 MB / 1.272 GB, free: 7.039 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002985/1.035, allocations: 0.794 MB / 1.272 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009085/1.036, allocations: 211.4 kB / 1.273 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of SimCode: time 1.353e-06/1.036, allocations: 4 kB / 1.273 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of Templates: time 0.09255/1.128, allocations: 57.07 MB / 1.328 GB, free: 13.77 MB / 1.061 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