Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.000889/0.000889, allocations: 81.86 kB / 20.68 MB, free: 3.816 MB / 18.57 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.0009196/0.0009196, allocations: 181 kB / 24.09 MB, free: 416 kB / 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.9536/0.9536, allocations: 177.1 MB / 204.5 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.76/1.76, allocations: 377.9 MB / 0.624 GB, free: 8.402 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0.7656 kB / 0.812 GB, free: 1.453 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.247e-05/1.374e-05, allocations: 2.312 kB / 0.812 GB, free: 1.449 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.005734/0.005748, allocations: 7.186 MB / 0.819 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002413/0.008161, allocations: 2.532 MB / 0.8215 GB, free: 7.742 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001721/0.008333, allocations: 23.75 kB / 0.8215 GB, free: 7.719 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0003078/0.008641, allocations: 125.7 kB / 0.8216 GB, free: 7.598 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0005721/0.009213, allocations: 399.1 kB / 0.822 GB, free: 7.207 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007011/0.009914, allocations: 0.595 MB / 0.8226 GB, free: 6.617 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0006547/0.01057, allocations: 0.9427 MB / 0.8235 GB, free: 5.672 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005029/0.01107, allocations: 268.5 kB / 0.8238 GB, free: 5.402 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004651/0.01154, allocations: 482.7 kB / 0.8242 GB, free: 4.93 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002215/0.01176, allocations: 260.9 kB / 0.8245 GB, free: 4.676 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.431e-05/0.01179, allocations: 24 kB / 0.8245 GB, free: 4.652 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001601/0.01195, allocations: 111.8 kB / 0.8246 GB, free: 4.543 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 6.913e-05/0.01202, allocations: 84.48 kB / 0.8247 GB, free: 4.461 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 8.906e-05/0.01211, allocations: 135.5 kB / 0.8248 GB, free: 4.328 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003047/0.01242, allocations: 342.7 kB / 0.8252 GB, free: 3.992 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.01242, allocations: 5.125 kB / 0.8252 GB, free: 3.988 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.72e-07/0.01242, allocations: 0 / 0.8252 GB, free: 3.988 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.476e-06/0.01242, allocations: 0 / 0.8252 GB, free: 3.988 MB / 0.7761 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.0006325/0.01306, allocations: 0.7473 MB / 0.8259 GB, free: 3.203 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.007e-05/0.01309, allocations: 8.625 kB / 0.8259 GB, free: 3.195 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.592e-05/0.01315, allocations: 71.16 kB / 0.826 GB, free: 3.129 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003106/0.01346, allocations: 347.7 kB / 0.8263 GB, free: 2.762 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.01348, allocations: 20.88 kB / 0.8263 GB, free: 2.742 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.426e-05/0.0135, allocations: 24.97 kB / 0.8263 GB, free: 2.719 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001376/0.01364, allocations: 124.8 kB / 0.8265 GB, free: 2.594 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.01365, allocations: 4 kB / 0.8265 GB, free: 2.59 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.01366, allocations: 9.062 kB / 0.8265 GB, free: 2.582 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.01366, allocations: 7.984 kB / 0.8265 GB, free: 2.574 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.503e-05/0.01373, allocations: 55.44 kB / 0.8265 GB, free: 2.523 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006791/0.01441, allocations: 0.618 MB / 0.8271 GB, free: 1.879 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004496/0.01486, allocations: 87.14 kB / 0.8272 GB, free: 1.781 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.614e-05/0.01488, allocations: 23.67 kB / 0.8272 GB, free: 1.754 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 6.488e-05/0.01495, allocations: 22.66 kB / 0.8273 GB, free: 1.734 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.838e-05/0.01497, allocations: 41.33 kB / 0.8273 GB, free: 1.684 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=12): time 1.092e-06/0.01497, allocations: 0 / 0.8273 GB, free: 1.684 MB / 0.7761 GB Notification: Performance of matching and sorting (n=12): time 0.0001614/0.01513, allocations: 121.3 kB / 0.8274 GB, free: 1.559 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.243e-05/0.01515, allocations: 55.41 kB / 0.8275 GB, free: 1.492 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002153/0.01537, allocations: 394.5 kB / 0.8278 GB, free: 1.086 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.01538, allocations: 33.7 kB / 0.8279 GB, free: 1.047 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.01549, allocations: 263.3 kB / 0.8281 GB, free: 0.7852 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.054e-05/0.01551, allocations: 51.56 kB / 0.8282 GB, free: 0.7344 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.498e-05/0.01557, allocations: 67.31 kB / 0.8282 GB, free: 0.6602 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.01568, allocations: 0.5117 MB / 0.8287 GB, free: 140 kB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.134e-05/0.01571, allocations: 23.97 kB / 0.8288 GB, free: 116 kB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001281/0.01583, allocations: 246.7 kB / 0.829 GB, free: 15.81 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.328e-05/0.01592, allocations: 94.64 kB / 0.8291 GB, free: 15.7 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.01592, allocations: 0 / 0.8291 GB, free: 15.7 MB / 0.7917 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001611/0.01608, allocations: 157.4 kB / 0.8292 GB, free: 15.54 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 9.588e-06/0.01609, allocations: 8 kB / 0.8292 GB, free: 15.54 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.0161, allocations: 11.92 kB / 0.8293 GB, free: 15.52 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.107e-06/0.01611, allocations: 4.094 kB / 0.8293 GB, free: 15.52 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/0.01621, allocations: 43.92 kB / 0.8293 GB, free: 15.48 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.01622, allocations: 7.984 kB / 0.8293 GB, free: 15.47 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001037/0.01632, allocations: 23.88 kB / 0.8293 GB, free: 15.45 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.575e-05/0.01634, allocations: 8 kB / 0.8293 GB, free: 15.44 MB / 0.7917 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 7.629e-05/0.01641, allocations: 164.5 kB / 0.8295 GB, free: 15.27 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.64e-05/0.01645, allocations: 43.75 kB / 0.8295 GB, free: 15.22 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001571/0.01661, allocations: 145.6 kB / 0.8297 GB, free: 15.07 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.01661, allocations: 4 kB / 0.8297 GB, free: 15.07 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-06/0.01661, allocations: 0 / 0.8297 GB, free: 15.07 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.01662, allocations: 7.984 kB / 0.8297 GB, free: 15.06 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003652/0.01698, allocations: 488.5 kB / 0.8302 GB, free: 14.54 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.01699, allocations: 11.92 kB / 0.8302 GB, free: 14.52 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.483e-05/0.01704, allocations: 20 kB / 0.8302 GB, free: 14.5 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.01705, allocations: 0 / 0.8302 GB, free: 14.5 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.01705, allocations: 8 kB / 0.8302 GB, free: 14.5 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.01706, allocations: 3.984 kB / 0.8302 GB, free: 14.49 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.01706, allocations: 8.125 kB / 0.8302 GB, free: 14.48 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001502/0.01721, allocations: 302.4 kB / 0.8305 GB, free: 14.15 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 5.271e-05/0.01726, allocations: 59.59 kB / 0.8306 GB, free: 14.09 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.07e-05/0.01728, allocations: 4 kB / 0.8306 GB, free: 14.09 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.291e-05/0.01736, allocations: 8 kB / 0.8306 GB, free: 14.08 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.504e-05/0.01738, allocations: 7.984 kB / 0.8306 GB, free: 14.07 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.145e-06/0.01739, allocations: 7.938 kB / 0.8306 GB, free: 14.07 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0001193/0.01751, allocations: 259 kB / 0.8308 GB, free: 13.82 MB / 0.7917 GB Notification: Performance of sort global known variables: time 7e-08/0.01751, allocations: 0 / 0.8308 GB, free: 13.82 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0002306/0.01774, allocations: 103.8 kB / 0.8309 GB, free: 13.71 MB / 0.7917 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.0001494/0.01789, allocations: 147.1 kB / 0.8311 GB, free: 13.56 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0001171/0.018, allocations: 95.53 kB / 0.8312 GB, free: 13.46 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.018, allocations: 0 / 0.8312 GB, free: 13.46 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 4.219e-05/0.01805, allocations: 43.61 kB / 0.8312 GB, free: 13.42 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004148/0.01846, allocations: 158 kB / 0.8314 GB, free: 13.27 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000891/0.01935, allocations: 0.643 MB / 0.832 GB, free: 12.58 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.268e-05/0.01941, allocations: 96.61 kB / 0.8321 GB, free: 12.47 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 9.91e-05/0.0195, allocations: 55.12 kB / 0.8321 GB, free: 12.42 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000199/0.0197, allocations: 182.1 kB / 0.8323 GB, free: 12.24 MB / 0.7917 GB Notification: Performance of SimCode: time 5.51e-07/0.0197, allocations: 0 / 0.8323 GB, free: 12.24 MB / 0.7917 GB Notification: Performance of Templates: time 0.007681/0.02739, allocations: 6.383 MB / 0.8385 GB, free: 6.055 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.makefile [Timeout 300] (rm -f Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; mkfifo Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe >> ../files/Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.sim & ./Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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: 4.95305992430076]