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.0009423/0.0009423, allocations: 92.22 kB / 19.65 MB, free: 276 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.0009976/0.0009976, allocations: 173 kB / 23.03 MB, free: 1.543 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.8864/0.8864, allocations: 177.1 MB / 203.4 MB, free: 5.629 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 1.98/1.98, allocations: 429.5 MB / 0.6732 GB, free: 4.059 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.192e-06/1.192e-06, allocations: 0 / 0.8782 GB, free: 6.332 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.297e-05/1.417e-05, allocations: 2.844 kB / 0.8782 GB, free: 6.328 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.006028/0.006042, allocations: 7.283 MB / 0.8853 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002861/0.008903, allocations: 2.527 MB / 0.8878 GB, free: 12.51 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002444/0.009147, allocations: 23.75 kB / 0.8878 GB, free: 12.49 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0003497/0.009497, allocations: 123 kB / 0.8879 GB, free: 12.37 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0006261/0.01012, allocations: 405.5 kB / 0.8883 GB, free: 11.97 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008581/0.01098, allocations: 0.5687 MB / 0.8888 GB, free: 11.4 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0007553/0.01174, allocations: 0.9191 MB / 0.8897 GB, free: 10.48 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002853/0.01202, allocations: 252.5 kB / 0.89 GB, free: 10.22 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004447/0.01247, allocations: 474.6 kB / 0.8904 GB, free: 9.758 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002417/0.01271, allocations: 255.2 kB / 0.8907 GB, free: 9.508 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.486e-05/0.01274, allocations: 24 kB / 0.8907 GB, free: 9.484 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001791/0.01292, allocations: 111.8 kB / 0.8908 GB, free: 9.375 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 7.394e-05/0.013, allocations: 87.53 kB / 0.8909 GB, free: 9.289 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001099/0.01311, allocations: 127.6 kB / 0.891 GB, free: 9.164 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0003471/0.01345, allocations: 354.6 kB / 0.8913 GB, free: 8.816 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.01346, allocations: 0 / 0.8913 GB, free: 8.816 MB / 0.8542 GB Notification: Performance of FrontEnd: time 4.61e-07/0.01346, allocations: 0 / 0.8913 GB, free: 8.816 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.96e-06/0.01346, allocations: 0 / 0.8913 GB, free: 8.816 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.0007009/0.01416, allocations: 0.7403 MB / 0.8921 GB, free: 8.039 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.01419, allocations: 12.03 kB / 0.8921 GB, free: 8.027 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.964e-05/0.01427, allocations: 68.61 kB / 0.8921 GB, free: 7.961 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003553/0.01463, allocations: 350 kB / 0.8925 GB, free: 7.594 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.643e-05/0.01465, allocations: 24.88 kB / 0.8925 GB, free: 7.57 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.033e-05/0.01468, allocations: 28.36 kB / 0.8925 GB, free: 7.543 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001785/0.01485, allocations: 140.2 kB / 0.8927 GB, free: 7.402 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/0.01486, allocations: 4 kB / 0.8927 GB, free: 7.398 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.777e-05/0.01488, allocations: 12 kB / 0.8927 GB, free: 7.387 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.01489, allocations: 4 kB / 0.8927 GB, free: 7.383 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001024/0.01499, allocations: 66.95 kB / 0.8927 GB, free: 7.316 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001038/0.01603, allocations: 0.6703 MB / 0.8934 GB, free: 6.613 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003537/0.01638, allocations: 95.02 kB / 0.8935 GB, free: 6.508 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.588e-05/0.01644, allocations: 31.67 kB / 0.8935 GB, free: 6.473 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 8.946e-05/0.01653, allocations: 19.98 kB / 0.8935 GB, free: 6.453 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.907e-05/0.01655, allocations: 37.33 kB / 0.8936 GB, free: 6.406 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=12): time 1.462e-06/0.01655, allocations: 0 / 0.8936 GB, free: 6.406 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12): time 0.0002702/0.01682, allocations: 129.4 kB / 0.8937 GB, free: 6.273 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.255e-05/0.01685, allocations: 55.34 kB / 0.8938 GB, free: 6.207 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000545/0.0174, allocations: 410.6 kB / 0.8941 GB, free: 5.789 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/0.01741, allocations: 29.7 kB / 0.8942 GB, free: 5.754 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.01753, allocations: 271.3 kB / 0.8944 GB, free: 5.484 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.047e-05/0.01755, allocations: 43.66 kB / 0.8945 GB, free: 5.441 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.836e-05/0.0176, allocations: 67.3 kB / 0.8945 GB, free: 5.367 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.01772, allocations: 0.5157 MB / 0.895 GB, free: 4.84 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.501e-05/0.01777, allocations: 19.98 kB / 0.8951 GB, free: 4.82 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001234/0.01789, allocations: 248.8 kB / 0.8953 GB, free: 4.516 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000113/0.018, allocations: 106.6 kB / 0.8954 GB, free: 4.395 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.018, allocations: 0 / 0.8954 GB, free: 4.395 MB / 0.8542 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001918/0.0182, allocations: 169.3 kB / 0.8956 GB, free: 4.223 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.01821, allocations: 11.94 kB / 0.8956 GB, free: 4.211 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.01821, allocations: 0 / 0.8956 GB, free: 4.211 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.01822, allocations: 4 kB / 0.8956 GB, free: 4.207 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/0.01835, allocations: 47.97 kB / 0.8956 GB, free: 4.16 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.01836, allocations: 11.92 kB / 0.8956 GB, free: 4.148 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001097/0.01847, allocations: 23.84 kB / 0.8957 GB, free: 4.125 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.82e-05/0.01848, allocations: 8 kB / 0.8957 GB, free: 4.117 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 8.304e-05/0.01857, allocations: 168.6 kB / 0.8958 GB, free: 3.941 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.652e-05/0.0186, allocations: 39.7 kB / 0.8959 GB, free: 3.902 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001863/0.01879, allocations: 148.4 kB / 0.896 GB, free: 3.75 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.01879, allocations: 7.984 kB / 0.896 GB, free: 3.742 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.0188, allocations: 0 / 0.896 GB, free: 3.742 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.0188, allocations: 0 / 0.896 GB, free: 3.742 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004277/0.01923, allocations: 0.5504 MB / 0.8966 GB, free: 3.133 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.01923, allocations: 0 / 0.8966 GB, free: 3.133 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.571e-05/0.01929, allocations: 27.92 kB / 0.8966 GB, free: 3.105 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.01929, allocations: 0 / 0.8966 GB, free: 3.105 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/0.0193, allocations: 8 kB / 0.8966 GB, free: 3.098 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/0.0193, allocations: 4 kB / 0.8966 GB, free: 3.094 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.0193, allocations: 4.188 kB / 0.8966 GB, free: 3.09 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001761/0.01948, allocations: 326.8 kB / 0.8969 GB, free: 2.734 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.193e-05/0.01953, allocations: 47.67 kB / 0.897 GB, free: 2.688 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.464e-05/0.01956, allocations: 8 kB / 0.897 GB, free: 2.68 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.541e-05/0.01964, allocations: 7.984 kB / 0.897 GB, free: 2.672 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.138e-05/0.01966, allocations: 11.98 kB / 0.897 GB, free: 2.66 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-06/0.01967, allocations: 8 kB / 0.897 GB, free: 2.652 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001606/0.01983, allocations: 271.1 kB / 0.8972 GB, free: 2.387 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01983, allocations: 0 / 0.8972 GB, free: 2.387 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002502/0.02008, allocations: 99.77 kB / 0.8973 GB, free: 2.289 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.0001581/0.02024, allocations: 158.2 kB / 0.8975 GB, free: 2.129 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001524/0.02039, allocations: 87.58 kB / 0.8976 GB, free: 2.039 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.02039, allocations: 0 / 0.8976 GB, free: 2.039 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.241e-05/0.02045, allocations: 63.47 kB / 0.8976 GB, free: 1.973 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004386/0.02089, allocations: 154.4 kB / 0.8978 GB, free: 1.82 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009972/0.02188, allocations: 0.6348 MB / 0.8984 GB, free: 1.141 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.23e-05/0.02195, allocations: 112.5 kB / 0.8985 GB, free: 1.012 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001184/0.02206, allocations: 46.95 kB / 0.8986 GB, free: 0.9648 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.817e-05/0.02211, allocations: 32.48 kB / 0.8986 GB, free: 0.9336 MB / 0.8542 GB Notification: Performance of SimCode: time 7.62e-07/0.02211, allocations: 0 / 0.8986 GB, free: 0.9336 MB / 0.8542 GB Notification: Performance of Templates: time 0.008277/0.03039, allocations: 6.427 MB / 0.9049 GB, free: 10.76 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.020173056982458]