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.001507/0.001507, allocations: 103.9 kB / 16.4 MB, free: 6.469 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.001643/0.001643, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.363/1.363, allocations: 222.9 MB / 241 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.427/2.427, allocations: 437 MB / 0.7112 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00164/0.001641, allocations: 59.91 kB / 1.019 GB, free: 9.414 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8646/0.8662, allocations: 151.6 MB / 1.167 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed): time 0.006838/0.8731, allocations: 4.913 MB / 1.172 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01004/0.8832, allocations: 5.567 MB / 1.178 GB, free: 9.32 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00111/0.8843, allocations: 31.88 kB / 1.178 GB, free: 9.289 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.004356/0.8888, allocations: 1.496 MB / 1.179 GB, free: 7.793 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.002926/0.8917, allocations: 1.128 MB / 1.18 GB, free: 6.66 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002748/0.8945, allocations: 1.192 MB / 1.181 GB, free: 5.469 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.01976/0.9143, allocations: 13.58 MB / 1.195 GB, free: 7.867 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003731/0.9147, allocations: 143 kB / 1.195 GB, free: 7.711 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001571/0.9162, allocations: 0.88 MB / 1.196 GB, free: 6.828 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001093/0.9173, allocations: 0.8677 MB / 1.196 GB, free: 5.957 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.000196/0.9175, allocations: 96 kB / 1.197 GB, free: 5.863 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002459/0.92, allocations: 1.38 MB / 1.198 GB, free: 4.48 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.001013/0.921, allocations: 1.157 MB / 1.199 GB, free: 3.32 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001245/0.9223, allocations: 1.255 MB / 1.2 GB, free: 2.059 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.004885/0.9272, allocations: 3.991 MB / 1.204 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.9272, allocations: 4 kB / 1.204 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.114e-06/0.9272, allocations: 0 / 1.204 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.71e-05/0.9273, allocations: 0 / 1.204 GB, free: 14.05 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.006203/0.9335, allocations: 3.071 MB / 1.207 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.9336, allocations: 8.625 kB / 1.207 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003899/0.9375, allocations: 0.7146 MB / 1.208 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007994/0.9455, allocations: 4.354 MB / 1.212 GB, free: 5.777 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.452e-05/0.9456, allocations: 32.5 kB / 1.212 GB, free: 5.746 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001358/0.9457, allocations: 51.98 kB / 1.212 GB, free: 5.695 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001809/0.9476, allocations: 0.9961 MB / 1.213 GB, free: 4.691 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.9476, allocations: 0 / 1.213 GB, free: 4.691 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.043e-05/0.9477, allocations: 8 kB / 1.213 GB, free: 4.684 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/0.9477, allocations: 8 kB / 1.213 GB, free: 4.676 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001995/0.9497, allocations: 0.8493 MB / 1.214 GB, free: 3.828 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007167/0.9569, allocations: 3.226 MB / 1.217 GB, free: 0.543 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002261/0.9592, allocations: 1.141 MB / 1.218 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009666/0.9602, allocations: 453.1 kB / 1.219 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 8.009e-05/0.9602, allocations: 24.2 kB / 1.219 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/0.9603, allocations: 42.78 kB / 1.219 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=33): time 4.498e-06/0.9603, allocations: 4 kB / 1.219 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of matching and sorting (n=33): time 0.004124/0.9644, allocations: 1.623 MB / 1.22 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.855e-05/0.9645, allocations: 59.34 kB / 1.22 GB, free: 13.17 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006262/0.9708, allocations: 3.806 MB / 1.224 GB, free: 9.367 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0002867/0.9711, allocations: 45.64 kB / 1.224 GB, free: 9.316 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009885/0.9721, allocations: 0.9971 MB / 1.225 GB, free: 8.312 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002005/0.9723, allocations: 130.3 kB / 1.225 GB, free: 8.184 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007391/0.973, allocations: 0.5157 MB / 1.226 GB, free: 7.66 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.9732, allocations: 301.1 kB / 1.226 GB, free: 7.363 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002562/0.9757, allocations: 1.821 MB / 1.228 GB, free: 5.539 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00299/0.9787, allocations: 2.351 MB / 1.23 GB, free: 3.012 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005113/0.9839, allocations: 3.868 MB / 1.234 GB, free: 14.99 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.371e-05/0.9839, allocations: 4 kB / 1.234 GB, free: 14.99 MB / 0.9669 GB Notification: Performance of matching and sorting (n=303) (initialization): time 0.006898/0.9908, allocations: 4.471 MB / 1.238 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.134e-05/0.9909, allocations: 15.94 kB / 1.238 GB, free: 10.49 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.549e-05/0.9909, allocations: 8 kB / 1.238 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.895e-05/0.991, allocations: 20 kB / 1.238 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001554/0.9925, allocations: 391.5 kB / 1.239 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.958e-05/0.9926, allocations: 23.94 kB / 1.239 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002272/0.9948, allocations: 261.5 kB / 1.239 GB, free: 9.797 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001987/0.9951, allocations: 108 kB / 1.239 GB, free: 9.691 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003331/0.9984, allocations: 2.159 MB / 1.241 GB, free: 7.527 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0027/1.001, allocations: 2.053 MB / 1.243 GB, free: 5.305 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004593/1.006, allocations: 3.295 MB / 1.246 GB, free: 1.855 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.918e-05/1.006, allocations: 4 kB / 1.246 GB, free: 1.852 MB / 0.9669 GB Notification: Performance of matching and sorting (n=303) (initialization_lambda0): time 0.006409/1.012, allocations: 3.883 MB / 1.25 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.446e-05/1.012, allocations: 14.81 kB / 1.25 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/1.012, allocations: 11.94 kB / 1.25 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.386e-05/1.012, allocations: 20 kB / 1.25 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001458/1.014, allocations: 375.6 kB / 1.251 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.537e-05/1.014, allocations: 31.92 kB / 1.251 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002379/1.016, allocations: 210.7 kB / 1.251 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001684/1.016, allocations: 104 kB / 1.251 GB, free: 13.21 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.0003921/1.017, allocations: 259.7 kB / 1.251 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005883/1.017, allocations: 260.4 kB / 1.251 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002867/1.02, allocations: 1.23 MB / 1.253 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/1.02, allocations: 4 kB / 1.253 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.347e-06/1.02, allocations: 3.984 kB / 1.253 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/1.02, allocations: 0 / 1.253 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002405/1.023, allocations: 1.521 MB / 1.254 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/1.023, allocations: 0 / 1.254 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000774/1.023, allocations: 131.8 kB / 1.254 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.345e-06/1.024, allocations: 3.938 kB / 1.254 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.116e-05/1.024, allocations: 15.97 kB / 1.254 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/1.024, allocations: 4 kB / 1.254 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/1.024, allocations: 0 / 1.254 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002764/1.026, allocations: 1.304 MB / 1.256 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001273/1.028, allocations: 0.4894 MB / 1.256 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000355/1.028, allocations: 4 kB / 1.256 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001077/1.029, allocations: 71.92 kB / 1.256 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.749e-05/1.029, allocations: 27.97 kB / 1.256 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.383e-05/1.029, allocations: 23.98 kB / 1.256 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.004109/1.033, allocations: 2.563 MB / 1.259 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.42e-07/1.033, allocations: 0 / 1.259 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.003696/1.037, allocations: 1.027 MB / 1.26 GB, free: 4.188 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.001447/1.039, allocations: 0.4888 MB / 1.26 GB, free: 3.691 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.007181/1.046, allocations: 4.54 MB / 1.265 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.167e-06/1.046, allocations: 7.938 kB / 1.265 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001038/1.047, allocations: 476.5 kB / 1.265 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00548/1.052, allocations: 1.306 MB / 1.266 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007127/1.06, allocations: 4.379 MB / 1.271 GB, free: 8.973 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00149/1.061, allocations: 1.781 MB / 1.272 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001044/1.062, allocations: 219.3 kB / 1.272 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of SimCode: time 7.72e-07/1.062, allocations: 0 / 1.272 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of Templates: time 0.07163/1.134, allocations: 45.76 MB / 1.317 GB, free: 9.617 MB / 1.045 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