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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001551/0.001551, allocations: 109.4 kB / 16.41 MB, free: 6.516 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.001752/0.001752, allocations: 190.7 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.353/1.353, 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 11.0.1-master/package.mo): time 2.508/2.508, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 67.89 kB / 1.055 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6844/0.6857, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.StaticReset): time 0.3101/0.9958, allocations: 338.2 MB / 1.539 GB, free: 10.2 MB / 1.264 GB Notification: Performance of NFInst.instExpressions: time 0.7043/1.7, allocations: 40.46 MB / 1.578 GB, free: 2.633 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005858/1.706, allocations: 177.4 kB / 1.578 GB, free: 2.633 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.008908/1.715, allocations: 3.714 MB / 1.582 GB, free: 2.625 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.01794/1.733, allocations: 8.138 MB / 1.59 GB, free: 2.375 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.01089/1.744, allocations: 4.838 MB / 1.595 GB, free: 2.281 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.03963/1.783, allocations: 33.65 MB / 1.628 GB, free: 1.961 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006563/1.79, allocations: 4.901 MB / 1.632 GB, free: 17.29 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01105/1.801, allocations: 6.131 MB / 1.638 GB, free: 17.22 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007532/1.809, allocations: 4.546 MB / 1.643 GB, free: 16.8 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.001356/1.81, allocations: 0.664 MB / 1.643 GB, free: 16.8 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01146/1.821, allocations: 6.256 MB / 1.649 GB, free: 16.73 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.002558/1.824, allocations: 3.019 MB / 1.652 GB, free: 16.42 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.005068/1.829, allocations: 4.271 MB / 1.657 GB, free: 15.2 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.01648/1.846, allocations: 13.14 MB / 1.669 GB, free: 13.47 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/1.846, allocations: 0 / 1.669 GB, free: 13.47 MB / 1.295 GB Notification: Performance of FrontEnd: time 1.683e-06/1.846, allocations: 0 / 1.669 GB, free: 13.47 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.0002918/1.846, allocations: 0 / 1.669 GB, free: 13.47 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.02097/1.867, allocations: 9.019 MB / 1.678 GB, free: 8.91 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/1.867, allocations: 10.73 kB / 1.678 GB, free: 8.906 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01198/1.879, allocations: 1.988 MB / 1.68 GB, free: 8.031 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01696/1.896, allocations: 9.765 MB / 1.69 GB, free: 5.07 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002123/1.896, allocations: 282.8 kB / 1.69 GB, free: 5.055 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009548/1.897, allocations: 383.1 kB / 1.69 GB, free: 5.047 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008958/1.906, allocations: 4.697 MB / 1.695 GB, free: 3.684 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.713e-05/1.906, allocations: 5.469 kB / 1.695 GB, free: 3.684 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004407/1.907, allocations: 130.3 kB / 1.695 GB, free: 3.684 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001031/1.907, allocations: 124.6 kB / 1.695 GB, free: 3.672 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006989/1.914, allocations: 3.385 MB / 1.699 GB, free: 3.074 MB / 1.295 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.02869/1.942, allocations: 19.58 MB / 1.718 GB, free: 0.7656 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007268/1.95, allocations: 2.984 MB / 1.721 GB, free: 13.79 MB / 1.326 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002888/1.953, allocations: 1.481 MB / 1.722 GB, free: 12.31 MB / 1.326 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003773/1.953, allocations: 233.3 kB / 1.722 GB, free: 12.05 MB / 1.326 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.483e-05/1.953, allocations: 56.56 kB / 1.722 GB, free: 11.99 MB / 1.326 GB Notification: Performance of pre-optimization done (n=213): time 4.799e-06/1.953, allocations: 0 / 1.722 GB, free: 11.99 MB / 1.326 GB Notification: Performance of matching and sorting (n=219): time 0.02493/1.978, allocations: 9.623 MB / 1.732 GB, free: 2.254 MB / 1.326 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.195e-05/1.978, allocations: 73.41 kB / 1.732 GB, free: 2.168 MB / 1.326 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01581/1.994, allocations: 8.059 MB / 1.74 GB, free: 10.12 MB / 1.342 GB Notification: Performance of collectPreVariables (initialization): time 0.0007734/1.995, allocations: 99.88 kB / 1.74 GB, free: 10.02 MB / 1.342 GB Notification: Performance of collectInitialEqns (initialization): time 0.003186/1.998, allocations: 3.107 MB / 1.743 GB, free: 6.93 MB / 1.342 GB Notification: Performance of collectInitialBindings (initialization): time 0.001163/1.999, allocations: 0.7824 MB / 1.744 GB, free: 6.152 MB / 1.342 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002464/2.002, allocations: 1.043 MB / 1.745 GB, free: 5.105 MB / 1.342 GB Notification: Performance of setup shared object (initialization): time 7.834e-05/2.002, allocations: 304.3 kB / 1.745 GB, free: 4.809 MB / 1.342 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005028/2.007, allocations: 3.24 MB / 1.748 GB, free: 1.562 MB / 1.342 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006231/2.013, allocations: 4.704 MB / 1.753 GB, free: 12.28 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): time 0.05165/2.065, allocations: 22.54 MB / 1.775 GB, free: 5.371 MB / 1.373 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.329e-05/2.065, allocations: 12 kB / 1.775 GB, free: 5.359 MB / 1.373 GB Notification: Performance of matching and sorting (n=621) (initialization): time 0.01651/2.081, allocations: 9.399 MB / 1.784 GB, free: 12.16 MB / 1.389 GB Notification: Performance of prepare postOptimizeDAE: time 4.633e-05/2.081, allocations: 20.03 kB / 1.784 GB, free: 12.14 MB / 1.389 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.744e-05/2.081, allocations: 32 kB / 1.784 GB, free: 12.11 MB / 1.389 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0033/2.085, allocations: 1.575 MB / 1.785 GB, free: 10.53 MB / 1.389 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004005/2.089, allocations: 0.8991 MB / 1.786 GB, free: 9.688 MB / 1.389 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003204/2.092, allocations: 3.053 MB / 1.789 GB, free: 6.578 MB / 1.389 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007032/2.099, allocations: 296.5 kB / 1.79 GB, free: 6.289 MB / 1.389 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007004/2.1, allocations: 250.2 kB / 1.79 GB, free: 6.047 MB / 1.389 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.008035/2.108, allocations: 4.357 MB / 1.794 GB, free: 1.684 MB / 1.389 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005992/2.114, allocations: 4.325 MB / 1.798 GB, free: 12.79 MB / 1.404 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.04508/2.159, allocations: 19.92 MB / 1.818 GB, free: 8.488 MB / 1.42 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.223e-05/2.159, allocations: 12 kB / 1.818 GB, free: 8.477 MB / 1.42 GB Notification: Performance of matching and sorting (n=621) (initialization_lambda0): time 0.01574/2.175, allocations: 8.74 MB / 1.826 GB, free: 15.9 MB / 1.436 GB Notification: Performance of prepare postOptimizeDAE: time 3.418e-05/2.175, allocations: 20 kB / 1.826 GB, free: 15.88 MB / 1.436 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.45e-05/2.175, allocations: 38.78 kB / 1.826 GB, free: 15.85 MB / 1.436 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003923/2.179, allocations: 1.633 MB / 1.828 GB, free: 14.21 MB / 1.436 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003645/2.182, allocations: 0.8723 MB / 1.829 GB, free: 13.39 MB / 1.436 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02677/2.209, allocations: 21.5 MB / 1.85 GB, free: 7.445 MB / 1.451 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007348/2.217, allocations: 352.7 kB / 1.85 GB, free: 7.098 MB / 1.451 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007785/2.217, allocations: 224 kB / 1.85 GB, free: 6.879 MB / 1.451 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.001323/2.219, allocations: 424.9 kB / 1.851 GB, free: 6.516 MB / 1.451 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001924/2.221, allocations: 0.667 MB / 1.851 GB, free: 5.84 MB / 1.451 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009933/2.231, allocations: 4.172 MB / 1.855 GB, free: 1.66 MB / 1.451 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006775/2.237, allocations: 3.523 MB / 1.859 GB, free: 14.08 MB / 1.467 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.746e-06/2.237, allocations: 3.938 kB / 1.859 GB, free: 14.08 MB / 1.467 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003223/2.241, allocations: 1.117 MB / 1.86 GB, free: 12.93 MB / 1.467 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002075/2.243, allocations: 55.98 kB / 1.86 GB, free: 12.88 MB / 1.467 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004769/2.247, allocations: 171.7 kB / 1.86 GB, free: 12.71 MB / 1.467 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003769/2.248, allocations: 173.8 kB / 1.86 GB, free: 12.54 MB / 1.467 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009316/2.257, allocations: 3.676 MB / 1.864 GB, free: 8.898 MB / 1.467 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01033/2.267, allocations: 5.356 MB / 1.869 GB, free: 3.516 MB / 1.467 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002594/2.27, allocations: 1.39 MB / 1.87 GB, free: 2.125 MB / 1.467 GB Notification: Performance of sorting global known variables: time 0.01096/2.281, allocations: 5.499 MB / 1.876 GB, free: 12.64 MB / 1.482 GB Notification: Performance of Backend: time 3.91e-07/2.281, allocations: 0 / 1.876 GB, free: 12.64 MB / 1.482 GB Notification: Performance of simCode: created initialization part: time 0.02061/2.302, allocations: 9.672 MB / 1.885 GB, free: 3.273 MB / 1.482 GB Notification: Performance of SimCode: time 0.03081/2.333, allocations: 15.42 MB / 1.9 GB, free: 3.879 MB / 1.498 GB Notification: Performance of Templates: time 0.2635/2.596, allocations: 169.2 MB / 2.066 GB, free: 12.98 MB / 1.67 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