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.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.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.001466/0.001465, allocations: 104 kB / 16.41 MB, free: 6.504 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.001499/0.001499, allocations: 192.2 kB / 17.34 MB, free: 5.742 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.375/1.375, 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.568/2.568, allocations: 461.9 MB / 0.7354 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001469/0.001469, allocations: 63.89 kB / 1.055 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7929/0.7944, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed): time 0.006587/0.801, allocations: 4.918 MB / 1.213 GB, free: 8.664 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.009573/0.8107, allocations: 5.557 MB / 1.219 GB, free: 3.09 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001053/0.8118, allocations: 23.94 kB / 1.219 GB, free: 3.066 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.004323/0.8161, allocations: 1.501 MB / 1.22 GB, free: 1.566 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002902/0.8191, allocations: 1.117 MB / 1.221 GB, free: 456 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002777/0.8219, allocations: 1.197 MB / 1.222 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.02041/0.8423, allocations: 13.57 MB / 1.236 GB, free: 1.668 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004283/0.8427, allocations: 151 kB / 1.236 GB, free: 1.508 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001782/0.8445, allocations: 0.8878 MB / 1.237 GB, free: 0.6172 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00158/0.8461, allocations: 0.8638 MB / 1.238 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0004315/0.8466, allocations: 96 kB / 1.238 GB, free: 15.66 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002842/0.8494, allocations: 1.384 MB / 1.239 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.001236/0.8507, allocations: 1.149 MB / 1.24 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001929/0.8526, allocations: 1.255 MB / 1.241 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.005722/0.8584, allocations: 3.987 MB / 1.245 GB, free: 7.855 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.8584, allocations: 3.938 kB / 1.245 GB, free: 7.852 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.697e-06/0.8584, allocations: 3.984 kB / 1.245 GB, free: 7.848 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.809e-05/0.8585, allocations: 0 / 1.245 GB, free: 7.848 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.007319/0.8659, allocations: 3.071 MB / 1.248 GB, free: 4.707 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.8659, allocations: 8.031 kB / 1.248 GB, free: 4.699 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004203/0.8701, allocations: 0.7107 MB / 1.249 GB, free: 3.984 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008181/0.8784, allocations: 4.358 MB / 1.253 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.664e-05/0.8785, allocations: 28.56 kB / 1.253 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002641/0.8787, allocations: 55.88 kB / 1.253 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002008/0.8808, allocations: 0.9845 MB / 1.254 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.8808, allocations: 0 / 1.254 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.652e-05/0.8809, allocations: 15.98 kB / 1.254 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.8809, allocations: 15.94 kB / 1.254 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002053/0.883, allocations: 0.8415 MB / 1.255 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006966/0.8899, allocations: 3.242 MB / 1.258 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002305/0.8923, allocations: 1.14 MB / 1.259 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001025/0.8933, allocations: 457.1 kB / 1.26 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.368e-05/0.8934, allocations: 12.28 kB / 1.26 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.298e-05/0.8935, allocations: 50.77 kB / 1.26 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=33): time 2.906e-06/0.8935, allocations: 0 / 1.26 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of matching and sorting (n=33): time 0.004237/0.8977, allocations: 1.62 MB / 1.261 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.44e-05/0.8978, allocations: 51.41 kB / 1.261 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006049/0.9039, allocations: 3.806 MB / 1.265 GB, free: 3.164 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0003121/0.9042, allocations: 41.7 kB / 1.265 GB, free: 3.117 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001076/0.9053, allocations: 1.009 MB / 1.266 GB, free: 2.102 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002204/0.9055, allocations: 134.3 kB / 1.266 GB, free: 1.969 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007198/0.9063, allocations: 0.5156 MB / 1.267 GB, free: 1.449 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.9064, allocations: 301.1 kB / 1.267 GB, free: 1.152 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002569/0.909, allocations: 1.821 MB / 1.269 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002899/0.9119, allocations: 2.344 MB / 1.271 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005235/0.9171, allocations: 3.872 MB / 1.275 GB, free: 8.781 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.137e-05/0.9172, allocations: 4 kB / 1.275 GB, free: 8.777 MB / 0.9981 GB Notification: Performance of matching and sorting (n=303) (initialization): time 0.007496/0.9247, allocations: 4.475 MB / 1.279 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.514e-05/0.9248, allocations: 15.98 kB / 1.279 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.399e-05/0.9248, allocations: 8 kB / 1.279 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.805e-05/0.9249, allocations: 20 kB / 1.279 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001575/0.9264, allocations: 383.6 kB / 1.28 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.662e-05/0.9265, allocations: 27.88 kB / 1.28 GB, free: 3.844 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002374/0.9289, allocations: 261.5 kB / 1.28 GB, free: 3.586 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002487/0.9292, allocations: 108 kB / 1.28 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003385/0.9326, allocations: 2.167 MB / 1.282 GB, free: 1.309 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002686/0.9353, allocations: 2.057 MB / 1.284 GB, free: 15.08 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004542/0.9399, allocations: 3.287 MB / 1.287 GB, free: 11.64 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.424e-05/0.9399, allocations: 4 kB / 1.287 GB, free: 11.64 MB / 1.014 GB Notification: Performance of matching and sorting (n=303) (initialization_lambda0): time 0.006588/0.9465, allocations: 3.881 MB / 1.291 GB, free: 7.742 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.614e-05/0.9466, allocations: 15.92 kB / 1.291 GB, free: 7.727 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.239e-05/0.9466, allocations: 12 kB / 1.291 GB, free: 7.715 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.261e-05/0.9466, allocations: 20 kB / 1.291 GB, free: 7.695 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001503/0.9481, allocations: 371.5 kB / 1.292 GB, free: 7.332 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.759e-05/0.9482, allocations: 27.92 kB / 1.292 GB, free: 7.305 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002455/0.9506, allocations: 210.7 kB / 1.292 GB, free: 7.098 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002306/0.9509, allocations: 99.97 kB / 1.292 GB, free: 7 MB / 1.014 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.0003987/0.9513, allocations: 255.8 kB / 1.292 GB, free: 6.742 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006192/0.9519, allocations: 260.4 kB / 1.292 GB, free: 6.484 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003/0.9549, allocations: 1.239 MB / 1.294 GB, free: 5.23 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.955, allocations: 4 kB / 1.294 GB, free: 5.227 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.955, allocations: 0 / 1.294 GB, free: 5.227 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.955, allocations: 0 / 1.294 GB, free: 5.227 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002489/0.9575, allocations: 1.521 MB / 1.295 GB, free: 3.66 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.9575, allocations: 0 / 1.295 GB, free: 3.66 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007647/0.9583, allocations: 131.8 kB / 1.295 GB, free: 3.531 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.003e-06/0.9583, allocations: 8 kB / 1.295 GB, free: 3.523 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.061e-05/0.9583, allocations: 15.98 kB / 1.295 GB, free: 3.508 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.083e-06/0.9584, allocations: 8 kB / 1.295 GB, free: 3.5 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.9584, allocations: 0 / 1.295 GB, free: 3.5 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002864/0.9612, allocations: 1.298 MB / 1.297 GB, free: 2.184 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001079/0.9623, allocations: 497.1 kB / 1.297 GB, free: 1.676 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003914/0.9628, allocations: 8 kB / 1.297 GB, free: 1.668 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001139/0.9639, allocations: 71.92 kB / 1.297 GB, free: 1.598 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.213e-05/0.964, allocations: 27.95 kB / 1.297 GB, free: 1.57 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.464e-05/0.9641, allocations: 23.98 kB / 1.297 GB, free: 1.547 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.004229/0.9683, allocations: 2.559 MB / 1.3 GB, free: 15 MB / 1.029 GB Notification: Performance of sort global known variables: time 6.41e-07/0.9683, allocations: 0 / 1.3 GB, free: 15 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.003633/0.972, allocations: 1.031 MB / 1.301 GB, free: 13.97 MB / 1.029 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.001275/0.9733, allocations: 486.7 kB / 1.301 GB, free: 13.48 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.006949/0.9803, allocations: 4.551 MB / 1.306 GB, free: 8.938 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 7.104e-06/0.9803, allocations: 0 / 1.306 GB, free: 8.938 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001068/0.9814, allocations: 473.1 kB / 1.306 GB, free: 8.477 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005002/0.9864, allocations: 1.317 MB / 1.307 GB, free: 7.18 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006778/0.9932, allocations: 4.386 MB / 1.312 GB, free: 2.75 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001391/0.9946, allocations: 1.792 MB / 1.313 GB, free: 0.9258 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009567/0.9956, allocations: 211.4 kB / 1.314 GB, free: 0.7188 MB / 1.029 GB Notification: Performance of SimCode: time 1.302e-06/0.9956, allocations: 0 / 1.314 GB, free: 0.7188 MB / 1.029 GB Notification: Performance of Templates: time 0.06459/1.06, allocations: 45.74 MB / 1.358 GB, free: 3.43 MB / 1.076 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 -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