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.001119/0.001119, allocations: 112.5 kB / 16.42 MB, free: 6.012 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.001046/0.001046, allocations: 181.8 kB / 17.35 MB, free: 5.629 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.344/1.344, allocations: 222.9 MB / 241 MB, free: 15.15 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.367/2.367, allocations: 437.1 MB / 0.7112 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 68.12 kB / 1.019 GB, free: 9.457 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.696/0.6973, allocations: 151.6 MB / 1.167 GB, free: 3.867 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.StaticReset): time 0.3089/1.006, allocations: 338.2 MB / 1.498 GB, free: 464 kB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.05122/1.057, allocations: 40.49 MB / 1.537 GB, free: 7.855 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005398/1.063, allocations: 171.1 kB / 1.537 GB, free: 7.688 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.008937/1.072, allocations: 3.794 MB / 1.541 GB, free: 3.875 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.01919/1.091, allocations: 8.427 MB / 1.549 GB, free: 11.41 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.01089/1.102, allocations: 4.854 MB / 1.554 GB, free: 6.578 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.6898/1.792, allocations: 33.64 MB / 1.587 GB, free: 15.33 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006957/1.799, allocations: 4.904 MB / 1.592 GB, free: 14.79 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01192/1.811, allocations: 6.218 MB / 1.598 GB, free: 14.79 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007827/1.819, allocations: 4.538 MB / 1.602 GB, free: 14.78 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.001725/1.82, allocations: 0.6661 MB / 1.603 GB, free: 14.78 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01167/1.832, allocations: 6.26 MB / 1.609 GB, free: 14.78 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.003451/1.835, allocations: 3.017 MB / 1.612 GB, free: 14.55 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.006433/1.842, allocations: 4.277 MB / 1.616 GB, free: 13.34 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.02135/1.863, allocations: 13.15 MB / 1.629 GB, free: 11.83 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/1.863, allocations: 0 / 1.629 GB, free: 11.83 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.603e-06/1.863, allocations: 0 / 1.629 GB, free: 11.83 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.000361/1.864, allocations: 0 / 1.629 GB, free: 11.83 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.02164/1.885, allocations: 9.011 MB / 1.638 GB, free: 7.836 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/1.885, allocations: 13.81 kB / 1.638 GB, free: 7.832 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01235/1.898, allocations: 1.989 MB / 1.64 GB, free: 7.348 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01818/1.916, allocations: 9.77 MB / 1.649 GB, free: 5.965 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002114/1.916, allocations: 279.4 kB / 1.649 GB, free: 5.957 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008115/1.917, allocations: 379.5 kB / 1.65 GB, free: 5.953 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007462/1.924, allocations: 4.694 MB / 1.654 GB, free: 5.434 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.236e-05/1.925, allocations: 8.531 kB / 1.654 GB, free: 5.434 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003475/1.925, allocations: 131.9 kB / 1.654 GB, free: 5.434 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.06e-05/1.925, allocations: 122.4 kB / 1.655 GB, free: 5.426 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006516/1.932, allocations: 3.382 MB / 1.658 GB, free: 5.375 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.02691/1.958, allocations: 19.59 MB / 1.677 GB, free: 13.73 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006317/1.965, allocations: 2.975 MB / 1.68 GB, free: 13.63 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002576/1.967, allocations: 1.493 MB / 1.681 GB, free: 13.6 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003513/1.968, allocations: 227.4 kB / 1.682 GB, free: 13.41 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.533e-05/1.968, allocations: 65.97 kB / 1.682 GB, free: 13.36 MB / 1.295 GB Notification: Performance of pre-optimization done (n=213): time 5.27e-06/1.968, allocations: 0 / 1.682 GB, free: 13.36 MB / 1.295 GB Notification: Performance of matching and sorting (n=219): time 0.02312/1.991, allocations: 9.611 MB / 1.691 GB, free: 11.28 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.559e-05/1.991, allocations: 76.59 kB / 1.691 GB, free: 11.21 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01238/2.003, allocations: 8.059 MB / 1.699 GB, free: 6.602 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0007918/2.004, allocations: 90.02 kB / 1.699 GB, free: 6.551 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.002378/2.007, allocations: 3.108 MB / 1.702 GB, free: 5.227 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.001038/2.008, allocations: 0.7819 MB / 1.703 GB, free: 4.562 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001474/2.009, allocations: 1.052 MB / 1.704 GB, free: 3.867 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 8.56e-05/2.009, allocations: 306.8 kB / 1.704 GB, free: 3.566 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004704/2.014, allocations: 3.237 MB / 1.707 GB, free: 1.477 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005774/2.02, allocations: 4.712 MB / 1.712 GB, free: 13.48 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.05137/2.071, allocations: 22.56 MB / 1.734 GB, free: 6.594 MB / 1.326 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.662e-05/2.071, allocations: 8 kB / 1.734 GB, free: 6.586 MB / 1.326 GB Notification: Performance of matching and sorting (n=621) (initialization): time 0.01665/2.088, allocations: 9.399 MB / 1.743 GB, free: 13.39 MB / 1.342 GB Notification: Performance of prepare postOptimizeDAE: time 4.77e-05/2.088, allocations: 20 kB / 1.743 GB, free: 13.37 MB / 1.342 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.727e-05/2.088, allocations: 28 kB / 1.743 GB, free: 13.34 MB / 1.342 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003311/2.091, allocations: 1.582 MB / 1.745 GB, free: 11.76 MB / 1.342 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003937/2.095, allocations: 0.8945 MB / 1.746 GB, free: 10.92 MB / 1.342 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003244/2.099, allocations: 3.045 MB / 1.749 GB, free: 7.82 MB / 1.342 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006927/2.105, allocations: 304.2 kB / 1.749 GB, free: 7.523 MB / 1.342 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006995/2.106, allocations: 247.9 kB / 1.749 GB, free: 7.281 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.007921/2.114, allocations: 4.368 MB / 1.753 GB, free: 2.914 MB / 1.342 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005966/2.12, allocations: 4.298 MB / 1.758 GB, free: 14.03 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.04709/2.167, allocations: 19.93 MB / 1.777 GB, free: 9.715 MB / 1.373 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.628e-05/2.167, allocations: 12 kB / 1.777 GB, free: 9.703 MB / 1.373 GB Notification: Performance of matching and sorting (n=621) (initialization_lambda0): time 0.01661/2.184, allocations: 8.744 MB / 1.786 GB, free: 1.145 MB / 1.373 GB Notification: Performance of prepare postOptimizeDAE: time 3.659e-05/2.184, allocations: 16 kB / 1.786 GB, free: 1.129 MB / 1.373 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.942e-05/2.184, allocations: 32 kB / 1.786 GB, free: 1.098 MB / 1.373 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004041/2.188, allocations: 1.632 MB / 1.787 GB, free: 15.46 MB / 1.389 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003746/2.192, allocations: 0.8789 MB / 1.788 GB, free: 14.64 MB / 1.389 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02752/2.219, allocations: 21.5 MB / 1.809 GB, free: 8.711 MB / 1.404 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007571/2.227, allocations: 360.7 kB / 1.809 GB, free: 8.355 MB / 1.404 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008579/2.228, allocations: 220 kB / 1.81 GB, free: 8.141 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.001506/2.229, allocations: 438.6 kB / 1.81 GB, free: 7.766 MB / 1.404 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002162/2.232, allocations: 0.6632 MB / 1.811 GB, free: 7.094 MB / 1.404 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01001/2.242, allocations: 4.156 MB / 1.815 GB, free: 2.934 MB / 1.404 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006953/2.249, allocations: 3.528 MB / 1.818 GB, free: 15.35 MB / 1.42 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/2.249, allocations: 0 / 1.818 GB, free: 15.35 MB / 1.42 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003688/2.252, allocations: 1.117 MB / 1.819 GB, free: 14.21 MB / 1.42 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002035/2.254, allocations: 55.92 kB / 1.819 GB, free: 14.15 MB / 1.42 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006035/2.26, allocations: 169.7 kB / 1.82 GB, free: 13.99 MB / 1.42 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004166/2.261, allocations: 173.8 kB / 1.82 GB, free: 13.82 MB / 1.42 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009444/2.27, allocations: 3.687 MB / 1.823 GB, free: 10.16 MB / 1.42 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01074/2.281, allocations: 5.343 MB / 1.828 GB, free: 4.785 MB / 1.42 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00263/2.284, allocations: 1.39 MB / 1.83 GB, free: 3.398 MB / 1.42 GB Notification: Performance of sorting global known variables: time 0.01137/2.295, allocations: 5.505 MB / 1.835 GB, free: 13.91 MB / 1.436 GB Notification: Performance of Backend: time 8.71e-07/2.295, allocations: 0 / 1.835 GB, free: 13.91 MB / 1.436 GB Notification: Performance of simCode: created initialization part: time 0.02241/2.317, allocations: 9.686 MB / 1.845 GB, free: 4.535 MB / 1.436 GB Notification: Performance of SimCode: time 0.03156/2.349, allocations: 15.42 MB / 1.86 GB, free: 5.137 MB / 1.451 GB Notification: Performance of Templates: time 0.2545/2.604, allocations: 169.2 MB / 2.025 GB, free: 14.39 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