Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic.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.Validation.ControlledFlowMachineDynamic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fan1.m_flow|fan2.m_flow|fan3.m_flow|fan1.dp|fan2.dp|fan3.dp",fileNamePrefix="Buildings_10_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic") translateModel(Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fan1.m_flow|fan2.m_flow|fan3.m_flow|fan1.dp|fan2.dp|fan3.dp",fileNamePrefix="Buildings_10_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001515/0.001515, allocations: 110.7 kB / 16.42 MB, free: 6.512 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.00175/0.00175, allocations: 189.5 kB / 17.35 MB, free: 5.738 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.327/1.327, allocations: 222.9 MB / 241.1 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.553/2.553, allocations: 437 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 68.12 kB / 1.019 GB, free: 9.367 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7387/0.7401, allocations: 151.6 MB / 1.167 GB, free: 3.816 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic): time 0.3161/1.056, allocations: 321.5 MB / 1.481 GB, free: 1.121 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.04939/1.106, allocations: 39.53 MB / 1.52 GB, free: 9.477 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00781/1.114, allocations: 147.2 kB / 1.52 GB, free: 9.332 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.009284/1.123, allocations: 3.457 MB / 1.523 GB, free: 5.859 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.0186/1.141, allocations: 7.571 MB / 1.531 GB, free: 14.26 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.009685/1.151, allocations: 3.787 MB / 1.535 GB, free: 10.48 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.7617/1.913, allocations: 36.62 MB / 1.57 GB, free: 29.44 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005376/1.918, allocations: 3.729 MB / 1.574 GB, free: 29.09 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0118/1.93, allocations: 6.154 MB / 1.58 GB, free: 29.09 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006461/1.937, allocations: 3.665 MB / 1.584 GB, free: 29.08 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.001226/1.938, allocations: 0.5182 MB / 1.584 GB, free: 29.08 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01093/1.949, allocations: 5.724 MB / 1.59 GB, free: 29.08 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.003047/1.952, allocations: 2.563 MB / 1.592 GB, free: 29.08 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.006086/1.958, allocations: 3.496 MB / 1.596 GB, free: 28.59 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.01535/1.973, allocations: 11.2 MB / 1.606 GB, free: 27.36 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/1.973, allocations: 0 / 1.606 GB, free: 27.36 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.873e-06/1.973, allocations: 4.031 kB / 1.606 GB, free: 27.36 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.0002266/1.974, allocations: 0 / 1.606 GB, free: 27.36 MB / 1.279 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 623 * Number of variables: 623 Notification: Performance of Generate backend data structure: time 0.01631/1.99, allocations: 7.416 MB / 1.614 GB, free: 24 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 4.509e-05/1.99, allocations: 15.23 kB / 1.614 GB, free: 24 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0124/2.002, allocations: 2.007 MB / 1.616 GB, free: 23.64 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01528/2.018, allocations: 8.687 MB / 1.624 GB, free: 22.51 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001473/2.018, allocations: 213.4 kB / 1.624 GB, free: 22.5 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005469/2.018, allocations: 286.3 kB / 1.625 GB, free: 22.5 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006337/2.025, allocations: 3.849 MB / 1.628 GB, free: 22.19 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.151e-05/2.025, allocations: 6.125 kB / 1.628 GB, free: 22.19 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002871/2.025, allocations: 103.5 kB / 1.629 GB, free: 22.19 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.692e-05/2.025, allocations: 94.67 kB / 1.629 GB, free: 22.18 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006003/2.031, allocations: 2.926 MB / 1.631 GB, free: 22.14 MB / 1.279 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02233/2.054, allocations: 15.99 MB / 1.647 GB, free: 15.89 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005682/2.059, allocations: 2.467 MB / 1.649 GB, free: 15.85 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002571/2.062, allocations: 1.377 MB / 1.651 GB, free: 15.84 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002929/2.062, allocations: 222.5 kB / 1.651 GB, free: 15.64 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002976/2.065, allocations: 1.896 MB / 1.653 GB, free: 15.57 MB / 1.279 GB Notification: Performance of pre-optimization done (n=157): time 3.847e-06/2.065, allocations: 0 / 1.653 GB, free: 15.57 MB / 1.279 GB Notification: Performance of matching and sorting (n=157): time 0.00945/2.075, allocations: 3.963 MB / 1.657 GB, free: 15.07 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.107e-05/2.075, allocations: 67.88 kB / 1.657 GB, free: 15.01 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009008/2.084, allocations: 6.636 MB / 1.663 GB, free: 14.55 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0005103/2.084, allocations: 76.3 kB / 1.663 GB, free: 14.52 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.001889/2.086, allocations: 2.465 MB / 1.666 GB, free: 13.99 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006258/2.087, allocations: 0.5661 MB / 1.666 GB, free: 13.63 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001143/2.088, allocations: 0.843 MB / 1.667 GB, free: 13.58 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 3.652e-05/2.088, allocations: 301.1 kB / 1.667 GB, free: 13.29 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003617/2.092, allocations: 2.689 MB / 1.67 GB, free: 13.24 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004064/2.096, allocations: 3.71 MB / 1.674 GB, free: 12.2 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007184/2.103, allocations: 6.039 MB / 1.68 GB, free: 11.25 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.837e-05/2.103, allocations: 13.97 kB / 1.68 GB, free: 11.25 MB / 1.279 GB Notification: Performance of matching and sorting (n=499) (initialization): time 0.01047/2.113, allocations: 7.172 MB / 1.687 GB, free: 10.76 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 4.831e-05/2.113, allocations: 42.8 kB / 1.687 GB, free: 10.73 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.668e-05/2.113, allocations: 24.19 kB / 1.687 GB, free: 10.73 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007646/2.114, allocations: 415.9 kB / 1.687 GB, free: 10.72 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003903/2.118, allocations: 0.7795 MB / 1.688 GB, free: 10.71 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002458/2.121, allocations: 3.251 MB / 1.691 GB, free: 8.414 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005373/2.126, allocations: 456.8 kB / 1.691 GB, free: 8.062 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000405/2.126, allocations: 191 kB / 1.692 GB, free: 7.922 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00558/2.132, allocations: 3.69 MB / 1.695 GB, free: 6.113 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00376/2.136, allocations: 3.371 MB / 1.699 GB, free: 3.688 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007145/2.143, allocations: 5.4 MB / 1.704 GB, free: 14.92 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.359e-05/2.143, allocations: 8 kB / 1.704 GB, free: 14.91 MB / 1.295 GB Notification: Performance of matching and sorting (n=499) (initialization_lambda0): time 0.01146/2.154, allocations: 6.531 MB / 1.71 GB, free: 8.484 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 4.835e-05/2.155, allocations: 45.69 kB / 1.71 GB, free: 8.434 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.424e-05/2.155, allocations: 24 kB / 1.71 GB, free: 8.41 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00116/2.156, allocations: 453.2 kB / 1.711 GB, free: 7.965 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003393/2.159, allocations: 0.7534 MB / 1.711 GB, free: 7.254 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008329/2.167, allocations: 6.151 MB / 1.717 GB, free: 0.9375 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005789/2.173, allocations: 370.7 kB / 1.718 GB, free: 0.5742 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006861/2.174, allocations: 172 kB / 1.718 GB, free: 416 kB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * Number of states: 0 () * Number of discrete variables: 5 (y.count,$PRE.y.count,y.T_start,$PRE.y.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (368): * Single equations (assignments): 357 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.001193/2.175, allocations: 360.4 kB / 1.718 GB, free: 92 kB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001727/2.177, allocations: 0.5205 MB / 1.719 GB, free: 15.56 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007714/2.185, allocations: 3.02 MB / 1.722 GB, free: 12.53 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005157/2.19, allocations: 2.589 MB / 1.724 GB, free: 9.883 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/2.19, allocations: 0 / 1.724 GB, free: 9.883 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003272/2.193, allocations: 0.8999 MB / 1.725 GB, free: 8.957 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001694/2.195, allocations: 36 kB / 1.725 GB, free: 8.922 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003773/2.199, allocations: 156.9 kB / 1.725 GB, free: 8.77 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002791/2.199, allocations: 113.2 kB / 1.725 GB, free: 8.656 MB / 1.311 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008249/2.207, allocations: 2.992 MB / 1.728 GB, free: 5.676 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008969/2.216, allocations: 4.416 MB / 1.733 GB, free: 1.234 MB / 1.311 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002285/2.218, allocations: 1.167 MB / 1.734 GB, free: 68 kB / 1.311 GB Notification: Performance of sorting global known variables: time 0.009279/2.228, allocations: 4.543 MB / 1.738 GB, free: 11.54 MB / 1.326 GB Notification: Performance of Backend: time 2.324e-06/2.228, allocations: 0 / 1.738 GB, free: 11.54 MB / 1.326 GB Notification: Performance of simCode: created initialization part: time 0.02113/2.249, allocations: 8.127 MB / 1.746 GB, free: 3.656 MB / 1.326 GB Notification: Performance of SimCode: time 0.03025/2.279, allocations: 12.82 MB / 1.759 GB, free: 6.859 MB / 1.342 GB Notification: Performance of Templates: time 0.2208/2.5, allocations: 138.3 MB / 1.894 GB, free: 14.66 MB / 1.482 GB make -j1 -f Buildings_10_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic.makefile (rm -f Buildings_10_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe ; mkfifo Buildings_10_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe >> ../files/Buildings_10_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic.sim & ./Buildings_10_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Movers_Validation_ControlledFlowMachineDynamic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches