Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Movers.Examples.StaticReset.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.Examples.StaticReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fan1.P|fan2.P|fan3.P|fan1.y_actual|fan2.y_actual|fan3.y_actual",fileNamePrefix="Buildings_10_Buildings.Fluid.Movers.Examples.StaticReset") translateModel(Buildings.Fluid.Movers.Examples.StaticReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fan1.P|fan2.P|fan3.P|fan1.y_actual|fan2.y_actual|fan3.y_actual",fileNamePrefix="Buildings_10_Buildings.Fluid.Movers.Examples.StaticReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001674/0.001674, allocations: 113.1 kB / 16.42 MB, free: 6.465 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.001818/0.001818, allocations: 189.5 kB / 17.35 MB, free: 5.711 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.301/1.301, allocations: 222.9 MB / 241 MB, free: 15.09 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.431/2.431, allocations: 437 MB / 0.7112 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 63.91 kB / 1.019 GB, free: 9.371 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6721/0.6735, allocations: 151.6 MB / 1.167 GB, free: 3.789 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.StaticReset): time 0.3238/0.9974, allocations: 338.2 MB / 1.498 GB, free: 388 kB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.05471/1.052, allocations: 40.49 MB / 1.537 GB, free: 7.777 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005996/1.058, allocations: 175.1 kB / 1.537 GB, free: 7.605 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.009704/1.068, allocations: 3.79 MB / 1.541 GB, free: 3.797 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.02134/1.089, allocations: 8.416 MB / 1.549 GB, free: 11.35 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.01169/1.101, allocations: 4.869 MB / 1.554 GB, free: 6.496 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.7146/1.816, allocations: 33.64 MB / 1.587 GB, free: 15.32 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006912/1.823, allocations: 4.891 MB / 1.592 GB, free: 14.78 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01198/1.835, allocations: 6.217 MB / 1.598 GB, free: 14.78 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008275/1.843, allocations: 4.541 MB / 1.602 GB, free: 14.77 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.002406/1.845, allocations: 0.6649 MB / 1.603 GB, free: 14.77 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0155/1.861, allocations: 6.259 MB / 1.609 GB, free: 14.77 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.005642/1.866, allocations: 3.019 MB / 1.612 GB, free: 14.54 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.00828/1.875, allocations: 4.269 MB / 1.616 GB, free: 13.32 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.0207/1.895, allocations: 13.2 MB / 1.629 GB, free: 11.55 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 9.137e-06/1.896, allocations: 0 / 1.629 GB, free: 11.55 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.873e-06/1.896, allocations: 3.938 kB / 1.629 GB, free: 11.55 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.000362/1.896, allocations: 0 / 1.629 GB, free: 11.55 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: 797 * Number of variables: 797 Notification: Performance of Generate backend data structure: time 0.0223/1.918, allocations: 9.293 MB / 1.638 GB, free: 7.277 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/1.918, allocations: 8.688 kB / 1.638 GB, free: 7.277 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01214/1.93, allocations: 2.043 MB / 1.64 GB, free: 6.75 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01976/1.95, allocations: 9.832 MB / 1.65 GB, free: 5.312 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002857/1.951, allocations: 275 kB / 1.65 GB, free: 5.301 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001289/1.952, allocations: 380.2 kB / 1.65 GB, free: 5.297 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01009/1.962, allocations: 4.689 MB / 1.655 GB, free: 4.781 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001089/1.962, allocations: 8.688 kB / 1.655 GB, free: 4.781 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006831/1.963, allocations: 128.4 kB / 1.655 GB, free: 4.781 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001252/1.963, allocations: 126.4 kB / 1.655 GB, free: 4.773 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008183/1.971, allocations: 3.382 MB / 1.658 GB, free: 4.723 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.03418/2.005, allocations: 19.63 MB / 1.677 GB, free: 13.04 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006846/2.012, allocations: 2.97 MB / 1.68 GB, free: 12.95 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002822/2.015, allocations: 1.487 MB / 1.682 GB, free: 12.91 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004003/2.015, allocations: 235.8 kB / 1.682 GB, free: 12.72 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.692e-05/2.015, allocations: 61.11 kB / 1.682 GB, free: 12.68 MB / 1.295 GB Notification: Performance of pre-optimization done (n=213): time 4.518e-06/2.016, allocations: 0 / 1.682 GB, free: 12.68 MB / 1.295 GB Notification: Performance of matching and sorting (n=219): time 0.02559/2.041, allocations: 9.733 MB / 1.692 GB, free: 10.48 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/2.041, allocations: 73.72 kB / 1.692 GB, free: 10.42 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01861/2.06, allocations: 8.066 MB / 1.7 GB, free: 5.668 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.001451/2.061, allocations: 93.33 kB / 1.7 GB, free: 5.613 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.004997/2.066, allocations: 3.144 MB / 1.703 GB, free: 4.262 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0016/2.068, allocations: 0.8259 MB / 1.704 GB, free: 3.559 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003622/2.072, allocations: 1.054 MB / 1.705 GB, free: 2.863 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 9.402e-05/2.072, allocations: 308.8 kB / 1.705 GB, free: 2.562 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005574/2.077, allocations: 3.237 MB / 1.708 GB, free: 484 kB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006792/2.084, allocations: 4.708 MB / 1.713 GB, free: 12.45 MB / 1.311 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: fan1.vol.dynBal.medium.p = fan1.vol.dynBal.p_start (sou.p = fan1.vol.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: fan2.vol.dynBal.medium.p = fan2.vol.dynBal.p_start (sou.p = fan2.vol.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: fan3.vol.dynBal.medium.p = fan3.vol.dynBal.p_start (sou.p = fan3.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.05352/2.138, allocations: 22.54 MB / 1.735 GB, free: 5.547 MB / 1.326 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-05/2.138, allocations: 8 kB / 1.735 GB, free: 5.539 MB / 1.326 GB Notification: Performance of matching and sorting (n=621) (initialization): time 0.01942/2.157, allocations: 9.438 MB / 1.744 GB, free: 12.3 MB / 1.342 GB Notification: Performance of prepare postOptimizeDAE: time 6.874e-05/2.157, allocations: 27.98 kB / 1.744 GB, free: 12.28 MB / 1.342 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.836e-05/2.157, allocations: 32 kB / 1.744 GB, free: 12.25 MB / 1.342 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003442/2.161, allocations: 1.576 MB / 1.745 GB, free: 10.67 MB / 1.342 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00431/2.165, allocations: 0.9023 MB / 1.746 GB, free: 9.824 MB / 1.342 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003491/2.169, allocations: 3.045 MB / 1.749 GB, free: 6.727 MB / 1.342 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007544/2.176, allocations: 296.3 kB / 1.75 GB, free: 6.438 MB / 1.342 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000965/2.177, allocations: 247.9 kB / 1.75 GB, free: 6.195 MB / 1.342 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: fan1.vol.dynBal.medium.p = fan1.vol.dynBal.p_start fan2.vol.dynBal.medium.p = fan2.vol.dynBal.p_start fan3.vol.dynBal.medium.p = fan3.vol.dynBal.p_start. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.009204/2.186, allocations: 4.365 MB / 1.754 GB, free: 1.828 MB / 1.342 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00633/2.193, allocations: 4.306 MB / 1.758 GB, free: 12.93 MB / 1.357 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: fan1.vol.dynBal.medium.p = fan1.vol.dynBal.p_start (sou.p = fan1.vol.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: fan2.vol.dynBal.medium.p = fan2.vol.dynBal.p_start (sou.p = fan2.vol.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: fan3.vol.dynBal.medium.p = fan3.vol.dynBal.p_start (sou.p = fan3.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.04676/2.24, allocations: 19.92 MB / 1.778 GB, free: 8.633 MB / 1.373 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.393e-05/2.24, allocations: 11.19 kB / 1.778 GB, free: 8.625 MB / 1.373 GB Notification: Performance of matching and sorting (n=621) (initialization_lambda0): time 0.01717/2.257, allocations: 8.782 MB / 1.786 GB, free: 28 kB / 1.373 GB Notification: Performance of prepare postOptimizeDAE: time 4.15e-05/2.257, allocations: 20.19 kB / 1.786 GB, free: 8 kB / 1.373 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.957e-05/2.257, allocations: 36.05 kB / 1.786 GB, free: 15.97 MB / 1.389 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00403/2.261, allocations: 1.629 MB / 1.788 GB, free: 14.34 MB / 1.389 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004024/2.265, allocations: 0.875 MB / 1.789 GB, free: 13.52 MB / 1.389 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03013/2.295, allocations: 21.52 MB / 1.81 GB, free: 7.574 MB / 1.404 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007993/2.303, allocations: 360.9 kB / 1.81 GB, free: 7.219 MB / 1.404 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001133/2.304, allocations: 216 kB / 1.81 GB, free: 7.008 MB / 1.404 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization_lambda0 system: fan1.vol.dynBal.medium.p = fan1.vol.dynBal.p_start fan2.vol.dynBal.medium.p = fan2.vol.dynBal.p_start fan3.vol.dynBal.medium.p = fan3.vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 143 * Number of states: 0 () * Number of discrete variables: 3 (conPID3.I.trigger_internal,conPID2.I.trigger_internal,conPID1.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (462): * Single equations (assignments): 453 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 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): 3 systems {(1,8), (1,8), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.001893/2.306, allocations: 436 kB / 1.811 GB, free: 6.633 MB / 1.404 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002629/2.309, allocations: 0.6984 MB / 1.811 GB, free: 5.93 MB / 1.404 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01102/2.32, allocations: 4.163 MB / 1.816 GB, free: 1.762 MB / 1.404 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007156/2.327, allocations: 3.524 MB / 1.819 GB, free: 14.18 MB / 1.42 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.147e-06/2.327, allocations: 4 kB / 1.819 GB, free: 14.18 MB / 1.42 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004159/2.331, allocations: 1.156 MB / 1.82 GB, free: 13 MB / 1.42 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002651/2.334, allocations: 51.92 kB / 1.82 GB, free: 12.95 MB / 1.42 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005514/2.34, allocations: 172.9 kB / 1.82 GB, free: 12.78 MB / 1.42 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005551/2.34, allocations: 169.8 kB / 1.82 GB, free: 12.61 MB / 1.42 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009761/2.35, allocations: 3.678 MB / 1.824 GB, free: 8.969 MB / 1.42 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01119/2.361, allocations: 5.393 MB / 1.829 GB, free: 3.543 MB / 1.42 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002795/2.364, allocations: 1.386 MB / 1.831 GB, free: 2.16 MB / 1.42 GB Notification: Performance of sorting global known variables: time 0.01299/2.377, allocations: 5.501 MB / 1.836 GB, free: 12.68 MB / 1.436 GB Notification: Performance of Backend: time 1.493e-06/2.377, allocations: 0 / 1.836 GB, free: 12.68 MB / 1.436 GB Notification: Performance of simCode: created initialization part: time 0.02583/2.403, allocations: 9.721 MB / 1.846 GB, free: 3.27 MB / 1.436 GB Notification: Performance of SimCode: time 0.03755/2.44, allocations: 15.64 MB / 1.861 GB, free: 3.645 MB / 1.451 GB Notification: Performance of Templates: time 0.2614/2.702, allocations: 169.2 MB / 2.026 GB, free: 12.87 MB / 1.623 GB make -j1 -f Buildings_10_Buildings.Fluid.Movers.Examples.StaticReset.makefile (rm -f Buildings_10_Buildings.Fluid.Movers.Examples.StaticReset.pipe ; mkfifo Buildings_10_Buildings.Fluid.Movers.Examples.StaticReset.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Movers.Examples.StaticReset.pipe >> ../files/Buildings_10_Buildings.Fluid.Movers.Examples.StaticReset.sim & ./Buildings_10_Buildings.Fluid.Movers.Examples.StaticReset -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Movers.Examples.StaticReset.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Movers.Examples.StaticReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Movers_Examples_StaticReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Movers.Examples.StaticReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches