Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001638/0.001638, allocations: 120.3 kB / 16.42 MB, free: 6.027 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.001899/0.001899, allocations: 187.5 kB / 17.35 MB, free: 5.625 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.317/1.317, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.63/2.63, allocations: 472.7 MB / 0.746 GB, free: 420 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 67.89 kB / 1.07 GB, free: 9.543 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6719/0.6731, allocations: 159.9 MB / 1.226 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.StaticReset): time 0.3065/0.9797, allocations: 338.2 MB / 1.557 GB, free: 10.07 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.7246/1.704, allocations: 40.49 MB / 1.596 GB, free: 2.555 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006874/1.711, allocations: 173.9 kB / 1.596 GB, free: 2.555 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.009081/1.72, allocations: 3.791 MB / 1.6 GB, free: 2.496 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.01926/1.74, allocations: 8.426 MB / 1.608 GB, free: 2.199 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.01122/1.751, allocations: 4.85 MB / 1.613 GB, free: 2.105 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.04443/1.795, allocations: 33.65 MB / 1.646 GB, free: 1.707 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007295/1.803, allocations: 4.89 MB / 1.651 GB, free: 17.04 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01231/1.815, allocations: 6.214 MB / 1.657 GB, free: 16.97 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007978/1.823, allocations: 4.546 MB / 1.661 GB, free: 16.35 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.001633/1.825, allocations: 0.6644 MB / 1.662 GB, free: 16.35 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01338/1.838, allocations: 6.263 MB / 1.668 GB, free: 16.29 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.003059/1.841, allocations: 3.023 MB / 1.671 GB, free: 15.98 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.006474/1.848, allocations: 4.271 MB / 1.675 GB, free: 14.76 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.0202/1.868, allocations: 13.19 MB / 1.688 GB, free: 11.65 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/1.868, allocations: 0 / 1.688 GB, free: 11.65 MB / 1.295 GB Notification: Performance of FrontEnd: time 1.753e-06/1.868, allocations: 3.938 kB / 1.688 GB, free: 11.64 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.0002709/1.868, allocations: 0 / 1.688 GB, free: 11.64 MB / 1.295 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.01988/1.888, allocations: 9.296 MB / 1.697 GB, free: 6.332 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/1.888, allocations: 10.5 kB / 1.697 GB, free: 6.332 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01193/1.9, allocations: 2.035 MB / 1.699 GB, free: 5.414 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01763/1.918, allocations: 9.838 MB / 1.709 GB, free: 284 kB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002058/1.918, allocations: 275 kB / 1.709 GB, free: 160 kB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006215/1.919, allocations: 384.6 kB / 1.709 GB, free: 32 kB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008473/1.927, allocations: 4.693 MB / 1.714 GB, free: 11.33 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-05/1.927, allocations: 9.156 kB / 1.714 GB, free: 11.32 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003332/1.927, allocations: 128 kB / 1.714 GB, free: 11.2 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001297/1.928, allocations: 127.6 kB / 1.714 GB, free: 11.07 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006967/1.935, allocations: 3.383 MB / 1.717 GB, free: 7.715 MB / 1.311 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.0309/1.965, allocations: 19.61 MB / 1.736 GB, free: 3.578 MB / 1.326 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007048/1.973, allocations: 2.987 MB / 1.739 GB, free: 0.5938 MB / 1.326 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00294/1.975, allocations: 1.478 MB / 1.741 GB, free: 15.12 MB / 1.342 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003923/1.976, allocations: 233.3 kB / 1.741 GB, free: 14.86 MB / 1.342 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.097e-05/1.976, allocations: 56.56 kB / 1.741 GB, free: 14.8 MB / 1.342 GB Notification: Performance of pre-optimization done (n=213): time 4.358e-06/1.976, allocations: 0 / 1.741 GB, free: 14.8 MB / 1.342 GB Notification: Performance of matching and sorting (n=219): time 0.02504/2.001, allocations: 9.754 MB / 1.751 GB, free: 4.945 MB / 1.342 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.457e-05/2.001, allocations: 73.41 kB / 1.751 GB, free: 4.863 MB / 1.342 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01609/2.017, allocations: 8.051 MB / 1.759 GB, free: 12.83 MB / 1.357 GB Notification: Performance of collectPreVariables (initialization): time 0.0007624/2.018, allocations: 97.64 kB / 1.759 GB, free: 12.73 MB / 1.357 GB Notification: Performance of collectInitialEqns (initialization): time 0.003258/2.021, allocations: 3.158 MB / 1.762 GB, free: 9.59 MB / 1.357 GB Notification: Performance of collectInitialBindings (initialization): time 0.001249/2.023, allocations: 0.8141 MB / 1.763 GB, free: 8.785 MB / 1.357 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002435/2.025, allocations: 1.044 MB / 1.764 GB, free: 7.734 MB / 1.357 GB Notification: Performance of setup shared object (initialization): time 8.82e-05/2.025, allocations: 306.7 kB / 1.764 GB, free: 7.434 MB / 1.357 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005156/2.03, allocations: 3.234 MB / 1.767 GB, free: 4.191 MB / 1.357 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006303/2.037, allocations: 4.708 MB / 1.772 GB, free: 14.9 MB / 1.373 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.05029/2.087, allocations: 22.55 MB / 1.794 GB, free: 7.984 MB / 1.389 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.754e-05/2.087, allocations: 8 kB / 1.794 GB, free: 7.977 MB / 1.389 GB Notification: Performance of matching and sorting (n=621) (initialization): time 0.01697/2.104, allocations: 9.447 MB / 1.803 GB, free: 14.73 MB / 1.404 GB Notification: Performance of prepare postOptimizeDAE: time 4.538e-05/2.104, allocations: 24.03 kB / 1.803 GB, free: 14.71 MB / 1.404 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-05/2.104, allocations: 32 kB / 1.803 GB, free: 14.68 MB / 1.404 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003345/2.107, allocations: 1.571 MB / 1.804 GB, free: 13.11 MB / 1.404 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00397/2.111, allocations: 0.8955 MB / 1.805 GB, free: 12.27 MB / 1.404 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003136/2.115, allocations: 3.052 MB / 1.808 GB, free: 9.16 MB / 1.404 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006726/2.121, allocations: 300.2 kB / 1.809 GB, free: 8.863 MB / 1.404 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006665/2.122, allocations: 243.9 kB / 1.809 GB, free: 8.625 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 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.007733/2.13, allocations: 4.354 MB / 1.813 GB, free: 4.262 MB / 1.404 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005669/2.135, allocations: 4.32 MB / 1.817 GB, free: 15.36 MB / 1.42 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.04486/2.18, allocations: 19.92 MB / 1.837 GB, free: 11.05 MB / 1.436 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.974e-05/2.18, allocations: 11.94 kB / 1.837 GB, free: 11.04 MB / 1.436 GB Notification: Performance of matching and sorting (n=621) (initialization_lambda0): time 0.0157/2.196, allocations: 8.783 MB / 1.845 GB, free: 2.418 MB / 1.436 GB Notification: Performance of prepare postOptimizeDAE: time 3.067e-05/2.196, allocations: 20 kB / 1.845 GB, free: 2.398 MB / 1.436 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.376e-05/2.196, allocations: 36.16 kB / 1.845 GB, free: 2.363 MB / 1.436 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003925/2.2, allocations: 1.633 MB / 1.847 GB, free: 0.7227 MB / 1.436 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003577/2.204, allocations: 0.8792 MB / 1.848 GB, free: 15.9 MB / 1.451 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02701/2.231, allocations: 21.51 MB / 1.869 GB, free: 9.941 MB / 1.467 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00977/2.241, allocations: 357.7 kB / 1.869 GB, free: 9.594 MB / 1.467 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001097/2.242, allocations: 220 kB / 1.869 GB, free: 9.379 MB / 1.467 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.001855/2.244, allocations: 429 kB / 1.87 GB, free: 9.008 MB / 1.467 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002405/2.246, allocations: 0.6945 MB / 1.871 GB, free: 8.309 MB / 1.467 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01008/2.256, allocations: 4.176 MB / 1.875 GB, free: 4.133 MB / 1.467 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00706/2.263, allocations: 3.524 MB / 1.878 GB, free: 0.5547 MB / 1.467 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.468e-06/2.263, allocations: 4 kB / 1.878 GB, free: 0.5508 MB / 1.467 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00329/2.266, allocations: 1.148 MB / 1.879 GB, free: 15.38 MB / 1.482 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00201/2.268, allocations: 55.98 kB / 1.879 GB, free: 15.32 MB / 1.482 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004771/2.273, allocations: 175.8 kB / 1.879 GB, free: 15.15 MB / 1.482 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004048/2.274, allocations: 177.7 kB / 1.88 GB, free: 14.98 MB / 1.482 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009336/2.283, allocations: 3.678 MB / 1.883 GB, free: 11.33 MB / 1.482 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01048/2.294, allocations: 5.382 MB / 1.888 GB, free: 5.922 MB / 1.482 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002702/2.296, allocations: 1.39 MB / 1.89 GB, free: 4.535 MB / 1.482 GB Notification: Performance of sorting global known variables: time 0.01182/2.308, allocations: 5.503 MB / 1.895 GB, free: 15.05 MB / 1.498 GB Notification: Performance of Backend: time 7.91e-07/2.308, allocations: 0 / 1.895 GB, free: 15.05 MB / 1.498 GB Notification: Performance of simCode: created initialization part: time 0.02268/2.331, allocations: 9.697 MB / 1.905 GB, free: 5.652 MB / 1.498 GB Notification: Performance of SimCode: time 0.03139/2.362, allocations: 15.66 MB / 1.92 GB, free: 6.008 MB / 1.514 GB Notification: Performance of Templates: time 0.2542/2.616, allocations: 169.2 MB / 2.085 GB, free: 15.04 MB / 1.686 GB make -j1 -f Buildings_latest_Buildings.Fluid.Movers.Examples.StaticReset.makefile (rm -f Buildings_latest_Buildings.Fluid.Movers.Examples.StaticReset.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.Examples.StaticReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.Examples.StaticReset.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.Examples.StaticReset.sim & ./Buildings_latest_Buildings.Fluid.Movers.Examples.StaticReset -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Movers.Examples.StaticReset.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Movers.Examples.StaticReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Movers_Examples_StaticReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Movers.Examples.StaticReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches