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.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.001672/0.001672, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001995/0.001995, allocations: 211.2 kB / 22.24 MB, free: 4.859 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.544/1.544, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.581/3.581, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002107/0.002107, allocations: 67.56 kB / 1.186 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3894/0.3915, allocations: 181.9 MB / 1.364 GB, free: 13.54 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed): time 0.006729/0.3983, allocations: 4.432 MB / 1.368 GB, free: 9.078 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01031/0.4086, allocations: 5.322 MB / 1.373 GB, free: 3.742 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008679/0.4094, allocations: 31.81 kB / 1.373 GB, free: 3.711 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.004381/0.4138, allocations: 1.526 MB / 1.375 GB, free: 2.18 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002862/0.4167, allocations: 1.191 MB / 1.376 GB, free: 0.9844 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002701/0.4194, allocations: 1.204 MB / 1.377 GB, free: 15.78 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.02268/0.4421, allocations: 14.11 MB / 1.391 GB, free: 1.66 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003926/0.4425, allocations: 87.23 kB / 1.391 GB, free: 1.555 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002657/0.4451, allocations: 0.9736 MB / 1.392 GB, free: 0.5781 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002395/0.4475, allocations: 0.9378 MB / 1.393 GB, free: 15.64 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0005796/0.4481, allocations: 76 kB / 1.393 GB, free: 15.56 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002834/0.4509, allocations: 1.267 MB / 1.394 GB, free: 14.29 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.001073/0.452, allocations: 1.122 MB / 1.395 GB, free: 13.17 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001075/0.4531, allocations: 0.9361 MB / 1.396 GB, free: 12.23 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.004414/0.4575, allocations: 3.79 MB / 1.4 GB, free: 8.422 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.4575, allocations: 4 kB / 1.4 GB, free: 8.418 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.034e-06/0.4575, allocations: 0 / 1.4 GB, free: 8.418 MB / 1.092 GB Notification: Performance of Transformations before backend: time 3.671e-05/0.4575, allocations: 0 / 1.4 GB, free: 8.418 MB / 1.092 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.005362/0.4629, allocations: 3.076 MB / 1.403 GB, free: 5.293 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.4629, allocations: 8.031 kB / 1.403 GB, free: 5.285 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003687/0.4666, allocations: 0.7319 MB / 1.404 GB, free: 4.551 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007202/0.4738, allocations: 4.179 MB / 1.408 GB, free: 316 kB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.538e-05/0.4739, allocations: 44.52 kB / 1.408 GB, free: 272 kB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001153/0.474, allocations: 44 kB / 1.408 GB, free: 228 kB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00198/0.476, allocations: 0.9975 MB / 1.409 GB, free: 15.21 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.476, allocations: 0 / 1.409 GB, free: 15.21 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.037e-05/0.476, allocations: 15.94 kB / 1.409 GB, free: 15.2 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.787e-06/0.4761, allocations: 4 kB / 1.409 GB, free: 15.2 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002127/0.4782, allocations: 0.8535 MB / 1.41 GB, free: 14.34 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005954/0.4841, allocations: 2.6 MB / 1.412 GB, free: 11.7 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002343/0.4865, allocations: 1.132 MB / 1.413 GB, free: 10.56 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001076/0.4876, allocations: 457 kB / 1.414 GB, free: 10.11 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 7.957e-05/0.4876, allocations: 16.22 kB / 1.414 GB, free: 10.1 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.758e-05/0.4877, allocations: 38.78 kB / 1.414 GB, free: 10.05 MB / 1.107 GB Notification: Performance of pre-optimization done (n=33): time 2.534e-06/0.4877, allocations: 0 / 1.414 GB, free: 10.05 MB / 1.107 GB Notification: Performance of matching and sorting (n=33): time 0.004388/0.4921, allocations: 1.641 MB / 1.415 GB, free: 8.402 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.011e-05/0.4921, allocations: 55.41 kB / 1.415 GB, free: 8.336 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005511/0.4976, allocations: 3.507 MB / 1.419 GB, free: 4.832 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001514/0.4978, allocations: 41.7 kB / 1.419 GB, free: 4.785 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.001231/0.499, allocations: 0.9973 MB / 1.42 GB, free: 3.781 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001793/0.4992, allocations: 138.9 kB / 1.42 GB, free: 3.645 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008224/0.5, allocations: 0.516 MB / 1.421 GB, free: 3.121 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.5002, allocations: 301.1 kB / 1.421 GB, free: 2.824 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002885/0.5031, allocations: 1.857 MB / 1.423 GB, free: 0.9648 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003397/0.5065, allocations: 2.396 MB / 1.425 GB, free: 14.38 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005766/0.5122, allocations: 3.919 MB / 1.429 GB, free: 10.32 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.195e-05/0.5122, allocations: 4 kB / 1.429 GB, free: 10.31 MB / 1.123 GB Notification: Performance of matching and sorting (n=305) (initialization): time 0.007485/0.5197, allocations: 4.555 MB / 1.433 GB, free: 5.746 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.42e-05/0.5197, allocations: 8 kB / 1.433 GB, free: 5.738 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-05/0.5198, allocations: 16.09 kB / 1.433 GB, free: 5.723 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.079e-05/0.5198, allocations: 16 kB / 1.433 GB, free: 5.707 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001574/0.5214, allocations: 391.5 kB / 1.434 GB, free: 5.324 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.282e-05/0.5214, allocations: 27.88 kB / 1.434 GB, free: 5.297 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00239/0.5238, allocations: 258.3 kB / 1.434 GB, free: 5.043 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002039/0.524, allocations: 107.9 kB / 1.434 GB, free: 4.938 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003729/0.5278, allocations: 2.191 MB / 1.436 GB, free: 2.742 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002897/0.5307, allocations: 2.099 MB / 1.438 GB, free: 476 kB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004965/0.5356, allocations: 3.334 MB / 1.442 GB, free: 12.97 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.075e-05/0.5356, allocations: 7.984 kB / 1.442 GB, free: 12.96 MB / 1.139 GB Notification: Performance of matching and sorting (n=305) (initialization_lambda0): time 0.007624/0.5433, allocations: 3.941 MB / 1.445 GB, free: 9.016 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 4.298e-05/0.5433, allocations: 21.8 kB / 1.445 GB, free: 8.996 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.28e-05/0.5433, allocations: 8 kB / 1.445 GB, free: 8.988 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.512e-05/0.5434, allocations: 23.94 kB / 1.445 GB, free: 8.965 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002436/0.5458, allocations: 379.5 kB / 1.446 GB, free: 8.594 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.357e-05/0.5458, allocations: 23.94 kB / 1.446 GB, free: 8.57 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003263/0.5491, allocations: 216.1 kB / 1.446 GB, free: 8.359 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001809/0.5493, allocations: 95.97 kB / 1.446 GB, free: 8.266 MB / 1.139 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.000508/0.5498, allocations: 256.9 kB / 1.446 GB, free: 8.008 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007288/0.5505, allocations: 274 kB / 1.447 GB, free: 7.738 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004068/0.5546, allocations: 1.251 MB / 1.448 GB, free: 6.48 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/0.5546, allocations: 4 kB / 1.448 GB, free: 6.477 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.5546, allocations: 0 / 1.448 GB, free: 6.477 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.5546, allocations: 0 / 1.448 GB, free: 6.477 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002772/0.5574, allocations: 1.164 MB / 1.449 GB, free: 5.281 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.5574, allocations: 0 / 1.449 GB, free: 5.281 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009917/0.5584, allocations: 127.8 kB / 1.449 GB, free: 5.156 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.548e-06/0.5584, allocations: 3.938 kB / 1.449 GB, free: 5.152 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.043e-05/0.5584, allocations: 15.98 kB / 1.449 GB, free: 5.137 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.5584, allocations: 0 / 1.449 GB, free: 5.137 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.5584, allocations: 0 / 1.449 GB, free: 5.137 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00295/0.5614, allocations: 1.326 MB / 1.45 GB, free: 3.793 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001012/0.5624, allocations: 381.8 kB / 1.451 GB, free: 3.418 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00029/0.5627, allocations: 11.94 kB / 1.451 GB, free: 3.406 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001011/0.5637, allocations: 67.92 kB / 1.451 GB, free: 3.34 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.595e-05/0.5638, allocations: 27.95 kB / 1.451 GB, free: 3.312 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.008e-05/0.5639, allocations: 23.98 kB / 1.451 GB, free: 3.289 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.003644/0.5675, allocations: 2.335 MB / 1.453 GB, free: 0.9648 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5675, allocations: 4 kB / 1.453 GB, free: 0.9609 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.002811/0.5703, allocations: 0.9993 MB / 1.454 GB, free: 15.96 MB / 1.154 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.001171/0.5715, allocations: 482 kB / 1.455 GB, free: 15.48 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.007407/0.5789, allocations: 4.24 MB / 1.459 GB, free: 11.24 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.5789, allocations: 0 / 1.459 GB, free: 11.24 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001107/0.58, allocations: 459.7 kB / 1.459 GB, free: 10.79 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004725/0.5847, allocations: 1.315 MB / 1.46 GB, free: 9.496 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009867/0.5946, allocations: 4.255 MB / 1.465 GB, free: 5.199 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002301/0.5969, allocations: 1.208 MB / 1.466 GB, free: 3.957 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.005224/0.6021, allocations: 0.8021 MB / 1.467 GB, free: 3.148 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001209/0.6033, allocations: 215.4 kB / 1.467 GB, free: 2.938 MB / 1.154 GB Notification: Performance of SimCode: time 1.603e-06/0.6033, allocations: 0 / 1.467 GB, free: 2.938 MB / 1.154 GB Notification: Performance of Templates: time 0.1519/0.7552, allocations: 62.75 MB / 1.528 GB, free: 5.344 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.pipe 2>&1) [Timeout 800] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.477995939552784]