Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001566/0.001566, allocations: 165 kB / 23.02 MB, free: 1.555 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.999/0.999, allocations: 177.1 MB / 203.4 MB, free: 5.664 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.009/2.009, allocations: 429.5 MB / 0.6732 GB, free: 4.074 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y1|y2",fileNamePrefix="Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing") translateModel(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y1|y2",fileNamePrefix="Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 0.8782 GB, free: 6.359 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.551e-05/2.737e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.355 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.01062/0.01065, allocations: 7.286 MB / 0.8853 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.004416/0.01506, allocations: 2.539 MB / 0.8878 GB, free: 12.54 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005509/0.01561, allocations: 23.75 kB / 0.8878 GB, free: 12.52 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0005184/0.01613, allocations: 115 kB / 0.8879 GB, free: 12.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.004061/0.02019, allocations: 405.5 kB / 0.8883 GB, free: 12 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001628/0.02182, allocations: 0.5687 MB / 0.8888 GB, free: 11.43 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001351/0.02317, allocations: 0.9153 MB / 0.8897 GB, free: 10.52 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004831/0.02365, allocations: 264.4 kB / 0.89 GB, free: 10.25 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007116/0.02436, allocations: 450.8 kB / 0.8904 GB, free: 9.809 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004241/0.02479, allocations: 255.2 kB / 0.8907 GB, free: 9.559 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 5.998e-05/0.02485, allocations: 20 kB / 0.8907 GB, free: 9.539 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003465/0.0252, allocations: 123.8 kB / 0.8908 GB, free: 9.418 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001107/0.02531, allocations: 83.55 kB / 0.8909 GB, free: 9.336 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001621/0.02547, allocations: 131.6 kB / 0.891 GB, free: 9.207 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0005989/0.02607, allocations: 366.6 kB / 0.8914 GB, free: 8.848 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.02607, allocations: 0 / 0.8914 GB, free: 8.848 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.533e-06/0.02607, allocations: 4 kB / 0.8914 GB, free: 8.844 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 9.308e-06/0.02608, allocations: 0 / 0.8914 GB, free: 8.844 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.001168/0.02725, allocations: 0.7403 MB / 0.8921 GB, free: 8.066 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.29e-05/0.0273, allocations: 12.03 kB / 0.8921 GB, free: 8.055 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001406/0.02744, allocations: 64.61 kB / 0.8922 GB, free: 7.992 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006345/0.02808, allocations: 361.9 kB / 0.8925 GB, free: 7.613 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.763e-05/0.02811, allocations: 20.88 kB / 0.8925 GB, free: 7.594 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.743e-05/0.02815, allocations: 28.38 kB / 0.8925 GB, free: 7.566 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002937/0.02845, allocations: 136.2 kB / 0.8927 GB, free: 7.43 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.02846, allocations: 0 / 0.8927 GB, free: 7.43 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.583e-05/0.02849, allocations: 12 kB / 0.8927 GB, free: 7.418 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.396e-05/0.0285, allocations: 4 kB / 0.8927 GB, free: 7.414 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001851/0.02869, allocations: 70.94 kB / 0.8928 GB, free: 7.344 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001315/0.03, allocations: 0.6742 MB / 0.8934 GB, free: 6.637 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004193/0.03042, allocations: 95.08 kB / 0.8935 GB, free: 6.531 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.97e-05/0.03048, allocations: 31.61 kB / 0.8935 GB, free: 6.496 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001293/0.03061, allocations: 23.98 kB / 0.8936 GB, free: 6.473 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.927e-05/0.03064, allocations: 37.33 kB / 0.8936 GB, free: 6.426 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=12): time 2.003e-06/0.03064, allocations: 4 kB / 0.8936 GB, free: 6.422 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12): time 0.0003394/0.03098, allocations: 121.4 kB / 0.8937 GB, free: 6.297 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.722e-05/0.03102, allocations: 59.34 kB / 0.8938 GB, free: 6.227 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004398/0.03146, allocations: 406.7 kB / 0.8942 GB, free: 5.812 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.469e-05/0.03148, allocations: 29.7 kB / 0.8942 GB, free: 5.777 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001837/0.03167, allocations: 267.3 kB / 0.8944 GB, free: 5.512 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.661e-05/0.0317, allocations: 51.58 kB / 0.8945 GB, free: 5.461 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.638e-05/0.0318, allocations: 63.3 kB / 0.8946 GB, free: 5.391 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001774/0.03198, allocations: 0.5118 MB / 0.8951 GB, free: 4.867 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.242e-05/0.03206, allocations: 27.97 kB / 0.8951 GB, free: 4.84 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001955/0.03225, allocations: 250 kB / 0.8953 GB, free: 4.535 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001729/0.03243, allocations: 106.6 kB / 0.8954 GB, free: 4.414 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.03243, allocations: 0 / 0.8954 GB, free: 4.414 MB / 0.8542 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003347/0.03277, allocations: 173.3 kB / 0.8956 GB, free: 4.238 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.03279, allocations: 7.938 kB / 0.8956 GB, free: 4.23 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.03279, allocations: 0 / 0.8956 GB, free: 4.23 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/0.03281, allocations: 4 kB / 0.8956 GB, free: 4.227 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000196/0.03301, allocations: 35.98 kB / 0.8956 GB, free: 4.191 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.03302, allocations: 11.98 kB / 0.8956 GB, free: 4.18 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001843/0.0332, allocations: 31.72 kB / 0.8957 GB, free: 4.148 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.617e-05/0.03324, allocations: 12 kB / 0.8957 GB, free: 4.137 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001289/0.03337, allocations: 160.6 kB / 0.8958 GB, free: 3.969 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.105e-05/0.03344, allocations: 47.69 kB / 0.8959 GB, free: 3.922 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003083/0.03375, allocations: 136.3 kB / 0.896 GB, free: 3.781 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/0.03376, allocations: 4 kB / 0.896 GB, free: 3.777 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.03376, allocations: 0 / 0.896 GB, free: 3.777 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.03377, allocations: 7.984 kB / 0.896 GB, free: 3.77 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007199/0.03449, allocations: 0.5505 MB / 0.8966 GB, free: 3.16 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.03449, allocations: 0 / 0.8966 GB, free: 3.16 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/0.0346, allocations: 27.92 kB / 0.8966 GB, free: 3.133 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.0346, allocations: 0 / 0.8966 GB, free: 3.133 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.684e-05/0.03462, allocations: 8 kB / 0.8966 GB, free: 3.125 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.03462, allocations: 0 / 0.8966 GB, free: 3.125 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.03463, allocations: 4 kB / 0.8966 GB, free: 3.121 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003172/0.03494, allocations: 326.4 kB / 0.8969 GB, free: 2.766 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 9.407e-05/0.03504, allocations: 47.73 kB / 0.897 GB, free: 2.719 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.854e-05/0.03507, allocations: 4 kB / 0.897 GB, free: 2.715 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001634/0.03524, allocations: 7.984 kB / 0.897 GB, free: 2.707 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.376e-05/0.03527, allocations: 12.05 kB / 0.897 GB, free: 2.695 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-05/0.03529, allocations: 8 kB / 0.897 GB, free: 2.688 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002806/0.03557, allocations: 275.1 kB / 0.8972 GB, free: 2.418 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.1e-07/0.03557, allocations: 0 / 0.8972 GB, free: 2.418 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000479/0.03605, allocations: 103.7 kB / 0.8973 GB, free: 2.316 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003055/0.03635, allocations: 167 kB / 0.8975 GB, free: 2.145 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002543/0.03661, allocations: 95.64 kB / 0.8976 GB, free: 2.047 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.03661, allocations: 0 / 0.8976 GB, free: 2.047 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 8.563e-05/0.03669, allocations: 54.78 kB / 0.8976 GB, free: 1.992 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007835/0.03748, allocations: 146.8 kB / 0.8978 GB, free: 1.848 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001767/0.03925, allocations: 0.6431 MB / 0.8984 GB, free: 1.156 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.858e-05/0.03933, allocations: 108.5 kB / 0.8985 GB, free: 1.031 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002062/0.03954, allocations: 58.36 kB / 0.8986 GB, free: 0.9766 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.4e-05/0.03961, allocations: 28.5 kB / 0.8986 GB, free: 0.9492 MB / 0.8542 GB Notification: Performance of SimCode: time 1.163e-06/0.03962, allocations: 0 / 0.8986 GB, free: 0.9492 MB / 0.8542 GB Notification: Performance of Templates: time 0.01164/0.05125, allocations: 5.928 MB / 0.9044 GB, free: 11.2 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; mkfifo Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe >> ../files/Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.sim & ./Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.520318912342191]