Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001912/0.001912, allocations: 104.2 kB / 16.45 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002436/0.002436, allocations: 210.4 kB / 19.43 MB, free: 3.637 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.546/1.546, allocations: 230.6 MB / 252.8 MB, free: 9.133 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.25/3.25, allocations: 0.4899 GB / 0.7916 GB, free: 33.23 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pow1|eff1.WHyd|pow2|eff2.WHyd|pow3|eff3.WHyd",fileNamePrefix="Buildings_12_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed") translateModel(Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pow1|eff1.WHyd|pow2|eff2.WHyd|pow3|eff3.WHyd",fileNamePrefix="Buildings_12_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00211/0.00211, allocations: 78.89 kB / 1.149 GB, free: 25.96 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3855/0.3876, allocations: 176.1 MB / 1.321 GB, free: 2.699 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed): time 0.007618/0.3952, allocations: 4.956 MB / 1.326 GB, free: 13.71 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01131/0.4065, allocations: 5.671 MB / 1.332 GB, free: 8.031 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001355/0.4079, allocations: 35.81 kB / 1.332 GB, free: 7.996 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.004214/0.4121, allocations: 1.528 MB / 1.333 GB, free: 6.465 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.002892/0.415, allocations: 1.152 MB / 1.334 GB, free: 5.309 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.002902/0.4179, allocations: 1.196 MB / 1.335 GB, free: 4.113 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.02286/0.4407, allocations: 13.7 MB / 1.349 GB, free: 6.406 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000393/0.4411, allocations: 79.06 kB / 1.349 GB, free: 6.312 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001944/0.4431, allocations: 0.8955 MB / 1.35 GB, free: 5.414 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001699/0.4448, allocations: 0.9339 MB / 1.351 GB, free: 4.477 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0004499/0.4452, allocations: 96 kB / 1.351 GB, free: 4.383 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00317/0.4484, allocations: 1.462 MB / 1.352 GB, free: 2.918 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.001439/0.4498, allocations: 1.169 MB / 1.353 GB, free: 1.746 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001936/0.4518, allocations: 1.259 MB / 1.355 GB, free: 492 kB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.00522/0.457, allocations: 4.016 MB / 1.358 GB, free: 12.45 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.457, allocations: 4 kB / 1.359 GB, free: 12.44 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.883e-06/0.457, allocations: 0 / 1.359 GB, free: 12.44 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.277e-05/0.457, allocations: 0 / 1.359 GB, free: 12.44 MB / 1.061 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.006276/0.4633, allocations: 3.182 MB / 1.362 GB, free: 9.191 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.4633, allocations: 11.98 kB / 1.362 GB, free: 9.18 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004368/0.4677, allocations: 0.728 MB / 1.362 GB, free: 8.449 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008456/0.4762, allocations: 4.392 MB / 1.367 GB, free: 4.004 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.816e-05/0.4762, allocations: 32.5 kB / 1.367 GB, free: 3.973 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001297/0.4764, allocations: 48 kB / 1.367 GB, free: 3.926 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002064/0.4784, allocations: 1 MB / 1.368 GB, free: 2.914 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.4784, allocations: 0 / 1.368 GB, free: 2.914 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.502e-05/0.4785, allocations: 8 kB / 1.368 GB, free: 2.906 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.337e-05/0.4785, allocations: 8 kB / 1.368 GB, free: 2.898 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002269/0.4808, allocations: 0.8454 MB / 1.369 GB, free: 2.055 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00684/0.4876, allocations: 3.257 MB / 1.372 GB, free: 14.74 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002519/0.4901, allocations: 1.121 MB / 1.373 GB, free: 13.61 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001122/0.4913, allocations: 445.1 kB / 1.373 GB, free: 13.17 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 8.18e-05/0.4913, allocations: 20.27 kB / 1.373 GB, free: 13.15 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.384e-05/0.4914, allocations: 38.77 kB / 1.373 GB, free: 13.11 MB / 1.076 GB Notification: Performance of pre-optimization done (n=33): time 1.954e-06/0.4914, allocations: 0 / 1.373 GB, free: 13.11 MB / 1.076 GB Notification: Performance of matching and sorting (n=33): time 0.004617/0.496, allocations: 1.646 MB / 1.375 GB, free: 11.45 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.168e-05/0.496, allocations: 59.34 kB / 1.375 GB, free: 11.38 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006718/0.5028, allocations: 3.818 MB / 1.379 GB, free: 7.57 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0003115/0.5031, allocations: 41.64 kB / 1.379 GB, free: 7.523 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.001187/0.5043, allocations: 0.9977 MB / 1.38 GB, free: 6.52 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002766/0.5045, allocations: 134.9 kB / 1.38 GB, free: 6.387 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008939/0.5054, allocations: 0.5276 MB / 1.38 GB, free: 5.852 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.5056, allocations: 305.1 kB / 1.381 GB, free: 5.551 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003145/0.5087, allocations: 1.837 MB / 1.382 GB, free: 3.711 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003733/0.5125, allocations: 2.363 MB / 1.385 GB, free: 1.172 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006408/0.5189, allocations: 3.887 MB / 1.389 GB, free: 13.14 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.52e-05/0.5189, allocations: 0 / 1.389 GB, free: 13.14 MB / 1.092 GB Notification: Performance of matching and sorting (n=305) (initialization): time 0.008256/0.5271, allocations: 4.527 MB / 1.393 GB, free: 8.598 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 4.337e-05/0.5272, allocations: 15.94 kB / 1.393 GB, free: 8.582 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.334e-05/0.5272, allocations: 8 kB / 1.393 GB, free: 8.574 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.491e-05/0.5272, allocations: 20 kB / 1.393 GB, free: 8.555 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001665/0.5289, allocations: 383.5 kB / 1.393 GB, free: 8.18 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.902e-05/0.5289, allocations: 27.92 kB / 1.393 GB, free: 8.152 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002595/0.5315, allocations: 274.5 kB / 1.394 GB, free: 7.883 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002282/0.5318, allocations: 108 kB / 1.394 GB, free: 7.777 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003962/0.5357, allocations: 2.179 MB / 1.396 GB, free: 5.594 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003116/0.5389, allocations: 2.081 MB / 1.398 GB, free: 3.34 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005358/0.5442, allocations: 3.303 MB / 1.401 GB, free: 15.88 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.635e-05/0.5442, allocations: 4 kB / 1.401 GB, free: 15.88 MB / 1.107 GB Notification: Performance of matching and sorting (n=305) (initialization_lambda0): time 0.007471/0.5517, allocations: 3.941 MB / 1.405 GB, free: 11.93 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/0.5517, allocations: 8 kB / 1.405 GB, free: 11.93 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.151e-05/0.5518, allocations: 20.03 kB / 1.405 GB, free: 11.91 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.051e-05/0.5518, allocations: 20 kB / 1.405 GB, free: 11.89 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001596/0.5534, allocations: 379.7 kB / 1.405 GB, free: 11.52 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.893e-05/0.5534, allocations: 23.92 kB / 1.405 GB, free: 11.49 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002884/0.5563, allocations: 219 kB / 1.406 GB, free: 11.28 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002361/0.5565, allocations: 99.97 kB / 1.406 GB, free: 11.18 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 1 (per3.haveWMot_nominal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (189): * Single equations (assignments): 182 * 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.0005326/0.5571, allocations: 259.8 kB / 1.406 GB, free: 10.92 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009693/0.558, allocations: 282 kB / 1.406 GB, free: 10.64 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003399/0.5614, allocations: 1.236 MB / 1.407 GB, free: 9.391 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.226e-06/0.5614, allocations: 4 kB / 1.407 GB, free: 9.387 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.5615, allocations: 0 / 1.407 GB, free: 9.387 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.575e-06/0.5615, allocations: 3.984 kB / 1.407 GB, free: 9.383 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003154/0.5646, allocations: 1.513 MB / 1.409 GB, free: 7.82 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.5646, allocations: 7.938 kB / 1.409 GB, free: 7.812 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007965/0.5654, allocations: 127.8 kB / 1.409 GB, free: 7.688 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.888e-06/0.5654, allocations: 3.938 kB / 1.409 GB, free: 7.684 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.153e-05/0.5655, allocations: 15.98 kB / 1.409 GB, free: 7.668 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.031e-06/0.5655, allocations: 3.938 kB / 1.409 GB, free: 7.664 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.5655, allocations: 0 / 1.409 GB, free: 7.664 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003144/0.5686, allocations: 1.318 MB / 1.41 GB, free: 6.328 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001305/0.5699, allocations: 0.5027 MB / 1.411 GB, free: 5.805 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006193/0.5706, allocations: 8 kB / 1.411 GB, free: 5.797 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001361/0.5719, allocations: 67.92 kB / 1.411 GB, free: 5.73 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001143/0.572, allocations: 27.97 kB / 1.411 GB, free: 5.703 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.498e-05/0.5721, allocations: 19.98 kB / 1.411 GB, free: 5.684 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.005019/0.5771, allocations: 2.571 MB / 1.413 GB, free: 3.125 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5771, allocations: 0 / 1.413 GB, free: 3.125 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0047/0.5818, allocations: 1.034 MB / 1.414 GB, free: 2.09 MB / 1.107 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.001723/0.5835, allocations: 486.1 kB / 1.415 GB, free: 1.605 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.008357/0.5919, allocations: 4.204 MB / 1.419 GB, free: 13.41 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 6.733e-06/0.5919, allocations: 4 kB / 1.419 GB, free: 13.41 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001262/0.5932, allocations: 464.3 kB / 1.419 GB, free: 12.95 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007224/0.6004, allocations: 1.322 MB / 1.421 GB, free: 11.65 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008802/0.6092, allocations: 4.255 MB / 1.425 GB, free: 7.355 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002004/0.6112, allocations: 1.773 MB / 1.427 GB, free: 5.551 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.002932/0.6141, allocations: 0.8018 MB / 1.427 GB, free: 4.742 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008604/0.615, allocations: 207.3 kB / 1.428 GB, free: 4.539 MB / 1.123 GB Notification: Performance of SimCode: time 1.152e-06/0.615, allocations: 4 kB / 1.428 GB, free: 4.535 MB / 1.123 GB Notification: Performance of Templates: time 0.1001/0.715, allocations: 57.52 MB / 1.484 GB, free: 11.9 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.pipe ; mkfifo Buildings_12_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.pipe >> ../files/Buildings_12_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.sim & ./Buildings_12_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Movers_BaseClasses_Validation_EulerReducedSpeed.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.97899310104549]