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.001529/0.001529, allocations: 111.5 kB / 16.42 MB, free: 6.453 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.001765/0.001765, allocations: 185.7 kB / 17.35 MB, free: 5.734 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.336/1.336, 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.458/2.458, allocations: 437 MB / 0.7112 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 63.84 kB / 1.019 GB, free: 9.445 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7552/0.7566, allocations: 151.6 MB / 1.167 GB, free: 3.875 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic): time 0.3022/1.059, allocations: 321.5 MB / 1.481 GB, free: 1.18 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.05221/1.111, allocations: 39.54 MB / 1.52 GB, free: 9.539 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005071/1.116, allocations: 147.2 kB / 1.52 GB, free: 9.395 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.00896/1.125, allocations: 3.469 MB / 1.523 GB, free: 5.91 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.01852/1.144, allocations: 7.57 MB / 1.531 GB, free: 14.31 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.00913/1.153, allocations: 3.784 MB / 1.535 GB, free: 10.54 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.7757/1.929, allocations: 36.62 MB / 1.57 GB, free: 29.46 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005694/1.934, allocations: 3.723 MB / 1.574 GB, free: 29.11 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01251/1.947, allocations: 6.158 MB / 1.58 GB, free: 29.11 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007944/1.955, allocations: 3.647 MB / 1.584 GB, free: 29.1 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.001664/1.957, allocations: 0.5168 MB / 1.584 GB, free: 29.1 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01217/1.969, allocations: 5.726 MB / 1.59 GB, free: 29.1 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.003115/1.972, allocations: 2.568 MB / 1.592 GB, free: 29.1 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.005404/1.977, allocations: 3.492 MB / 1.596 GB, free: 28.61 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.01717/1.994, allocations: 11.25 MB / 1.607 GB, free: 27.16 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/1.995, allocations: 0 / 1.607 GB, free: 27.16 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.623e-06/1.995, allocations: 0.9062 kB / 1.607 GB, free: 27.16 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.0002594/1.995, allocations: 0 / 1.607 GB, free: 27.16 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.01801/2.013, allocations: 7.645 MB / 1.614 GB, free: 23.57 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/2.013, allocations: 15 kB / 1.614 GB, free: 23.57 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01276/2.026, allocations: 2.033 MB / 1.616 GB, free: 23.19 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01583/2.042, allocations: 8.745 MB / 1.625 GB, free: 22.01 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001893/2.042, allocations: 213.1 kB / 1.625 GB, free: 22 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007083/2.042, allocations: 290.7 kB / 1.625 GB, free: 22 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006484/2.049, allocations: 3.85 MB / 1.629 GB, free: 21.68 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.778e-05/2.049, allocations: 3.281 kB / 1.629 GB, free: 21.68 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002593/2.049, allocations: 100.2 kB / 1.629 GB, free: 21.68 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.026e-05/2.049, allocations: 95.25 kB / 1.629 GB, free: 21.68 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005752/2.055, allocations: 2.922 MB / 1.632 GB, free: 21.64 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.02038/2.076, allocations: 16.02 MB / 1.647 GB, free: 15.36 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005464/2.081, allocations: 2.469 MB / 1.65 GB, free: 15.32 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00253/2.084, allocations: 1.386 MB / 1.651 GB, free: 15.3 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003057/2.084, allocations: 221.4 kB / 1.651 GB, free: 15.11 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002922/2.087, allocations: 1.887 MB / 1.653 GB, free: 15.04 MB / 1.279 GB Notification: Performance of pre-optimization done (n=157): time 4.339e-06/2.087, allocations: 0 / 1.653 GB, free: 15.04 MB / 1.279 GB Notification: Performance of matching and sorting (n=157): time 0.009465/2.096, allocations: 3.994 MB / 1.657 GB, free: 14.53 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.862e-05/2.096, allocations: 69.72 kB / 1.657 GB, free: 14.47 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009234/2.106, allocations: 6.636 MB / 1.664 GB, free: 14 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0006163/2.106, allocations: 71.95 kB / 1.664 GB, free: 13.97 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.001868/2.108, allocations: 2.503 MB / 1.666 GB, free: 13.42 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007115/2.109, allocations: 0.5851 MB / 1.667 GB, free: 13.04 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001178/2.11, allocations: 0.841 MB / 1.668 GB, free: 12.99 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 4.98e-05/2.11, allocations: 307.2 kB / 1.668 GB, free: 12.69 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003641/2.114, allocations: 2.688 MB / 1.671 GB, free: 12.64 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004202/2.118, allocations: 3.71 MB / 1.674 GB, free: 11.6 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007454/2.125, allocations: 6.043 MB / 1.68 GB, free: 10.66 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.92e-05/2.125, allocations: 8.094 kB / 1.68 GB, free: 10.65 MB / 1.279 GB Notification: Performance of matching and sorting (n=499) (initialization): time 0.01136/2.137, allocations: 7.21 MB / 1.687 GB, free: 10.14 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 5.285e-05/2.137, allocations: 44.95 kB / 1.687 GB, free: 10.11 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.37e-05/2.137, allocations: 24.59 kB / 1.687 GB, free: 10.11 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007686/2.138, allocations: 412.7 kB / 1.688 GB, free: 10.1 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003809/2.142, allocations: 0.7759 MB / 1.688 GB, free: 10.09 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002441/2.144, allocations: 3.253 MB / 1.692 GB, free: 7.793 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005069/2.149, allocations: 464.8 kB / 1.692 GB, free: 7.496 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003962/2.149, allocations: 194.6 kB / 1.692 GB, free: 7.352 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005332/2.155, allocations: 3.687 MB / 1.696 GB, free: 5.543 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003522/2.158, allocations: 3.375 MB / 1.699 GB, free: 3.117 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00635/2.165, allocations: 5.391 MB / 1.704 GB, free: 14.41 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.689e-05/2.165, allocations: 12 kB / 1.704 GB, free: 14.4 MB / 1.295 GB Notification: Performance of matching and sorting (n=499) (initialization_lambda0): time 0.01142/2.176, allocations: 6.569 MB / 1.711 GB, free: 7.945 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 5.551e-05/2.176, allocations: 47.41 kB / 1.711 GB, free: 7.895 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.738e-05/2.176, allocations: 27.09 kB / 1.711 GB, free: 7.871 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00118/2.178, allocations: 453 kB / 1.711 GB, free: 7.426 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003339/2.181, allocations: 0.7504 MB / 1.712 GB, free: 6.715 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008303/2.189, allocations: 6.143 MB / 1.718 GB, free: 412 kB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005525/2.195, allocations: 385.5 kB / 1.718 GB, free: 28 kB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006032/2.195, allocations: 168 kB / 1.718 GB, free: 15.86 MB / 1.311 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.001145/2.197, allocations: 360.1 kB / 1.719 GB, free: 15.55 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00179/2.198, allocations: 0.5392 MB / 1.719 GB, free: 15 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007674/2.206, allocations: 3.025 MB / 1.722 GB, free: 11.97 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005197/2.211, allocations: 2.592 MB / 1.725 GB, free: 9.316 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/2.211, allocations: 3.938 kB / 1.725 GB, free: 9.312 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002984/2.214, allocations: 0.9303 MB / 1.726 GB, free: 8.359 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001723/2.216, allocations: 36.09 kB / 1.726 GB, free: 8.324 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003764/2.22, allocations: 155.7 kB / 1.726 GB, free: 8.172 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002823/2.22, allocations: 116.3 kB / 1.726 GB, free: 8.059 MB / 1.311 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007832/2.228, allocations: 2.987 MB / 1.729 GB, free: 5.078 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008931/2.237, allocations: 4.448 MB / 1.733 GB, free: 0.6133 MB / 1.311 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002274/2.239, allocations: 1.166 MB / 1.734 GB, free: 15.45 MB / 1.326 GB Notification: Performance of sorting global known variables: time 0.008766/2.248, allocations: 4.543 MB / 1.739 GB, free: 10.91 MB / 1.326 GB Notification: Performance of Backend: time 9.02e-07/2.248, allocations: 0 / 1.739 GB, free: 10.91 MB / 1.326 GB Notification: Performance of simCode: created initialization part: time 0.0199/2.268, allocations: 8.148 MB / 1.747 GB, free: 3.016 MB / 1.326 GB Notification: Performance of SimCode: time 0.02707/2.295, allocations: 13 MB / 1.76 GB, free: 6.023 MB / 1.342 GB Notification: Performance of Templates: time 0.2067/2.502, allocations: 138.3 MB / 1.895 GB, free: 13.82 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