Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Templates.Components.Validation.PumpMultipleRecord.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.0009967/0.0009967, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001007/0.001007, allocations: 169.3 kB / 24.28 MB, free: 280 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.9437/0.9437, allocations: 177.1 MB / 204.6 MB, free: 5.594 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.916/1.916, allocations: 377.8 MB / 0.6239 GB, free: 8.57 MB / 0.5886 GB " [Timeout remaining time 177] 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.Templates.Components.Validation.PumpMultipleRecord,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|V_flow_nominal.[0-9,]+.|datDef.per.[0-9,]+..pressure.V_flow.[0-9,]+.|datRed.per.[0-9,]+..pressure.V_flow.[0-9,]+.|datAss.per.[0-9,]+..pressure.V_flow.[0-9,]+.|datPre.per.[0-9,]+..pressure.V_flow.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Templates.Components.Validation.PumpMultipleRecord") translateModel(Buildings.Templates.Components.Validation.PumpMultipleRecord,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|V_flow_nominal.[0-9,]+.|datDef.per.[0-9,]+..pressure.V_flow.[0-9,]+.|datRed.per.[0-9,]+..pressure.V_flow.[0-9,]+.|datAss.per.[0-9,]+..pressure.V_flow.[0-9,]+.|datPre.per.[0-9,]+..pressure.V_flow.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Templates.Components.Validation.PumpMultipleRecord") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 3.938 kB / 0.8115 GB, free: 2.113 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.677e-05/2.876e-05, allocations: 7.234 kB / 0.8115 GB, free: 2.105 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.PumpMultipleRecord): time 0.003713/0.003742, allocations: 3.798 MB / 0.8152 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.006546/0.01029, allocations: 6.365 MB / 0.8214 GB, free: 7.949 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003989/0.01069, allocations: 27.88 kB / 0.8214 GB, free: 7.922 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.004194/0.01488, allocations: 1.958 MB / 0.8234 GB, free: 5.969 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0008253/0.01571, allocations: 0.6216 MB / 0.824 GB, free: 5.348 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 2.214e-05/0.01573, allocations: 4 kB / 0.824 GB, free: 5.344 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.02339/0.03912, allocations: 22.74 MB / 0.8462 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001859/0.03931, allocations: 46.62 kB / 0.8462 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001072/0.04038, allocations: 0.6972 MB / 0.8469 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000652/0.04103, allocations: 0.5839 MB / 0.8475 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 6.785e-05/0.0411, allocations: 32 kB / 0.8475 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001339/0.04123, allocations: 32 kB / 0.8475 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0006129/0.04185, allocations: 0.8299 MB / 0.8484 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0004809/0.04233, allocations: 466.6 kB / 0.8488 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.001195/0.04352, allocations: 1.241 MB / 0.85 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.04353, allocations: 0 / 0.85 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.613e-06/0.04353, allocations: 0 / 0.85 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.723e-05/0.04355, allocations: 0 / 0.85 GB, free: 10.62 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.002804/0.04635, allocations: 2.565 MB / 0.8525 GB, free: 8.012 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.197e-05/0.0464, allocations: 8.031 kB / 0.8525 GB, free: 8.004 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002421/0.04664, allocations: 337.7 kB / 0.8528 GB, free: 7.672 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002502/0.04915, allocations: 2.118 MB / 0.8549 GB, free: 5.48 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.046e-05/0.04921, allocations: 238.4 kB / 0.8551 GB, free: 5.246 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.561e-05/0.04926, allocations: 238.4 kB / 0.8554 GB, free: 5.012 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.974e-05/0.04933, allocations: 144.9 kB / 0.8555 GB, free: 4.863 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.195e-05/0.04936, allocations: 123.1 kB / 0.8556 GB, free: 4.742 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.168e-05/0.04943, allocations: 246.4 kB / 0.8559 GB, free: 4.5 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.106e-05/0.04949, allocations: 238.4 kB / 0.8561 GB, free: 4.266 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.28e-05/0.04955, allocations: 238.4 kB / 0.8563 GB, free: 4.031 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001759/0.05131, allocations: 1.813 MB / 0.8581 GB, free: 2.188 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001017/0.05141, allocations: 265.4 kB / 0.8583 GB, free: 1.914 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.986e-05/0.05145, allocations: 130.8 kB / 0.8585 GB, free: 1.781 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.081e-05/0.05148, allocations: 119.2 kB / 0.8586 GB, free: 1.664 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.33e-05/0.05153, allocations: 152.6 kB / 0.8587 GB, free: 1.504 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 2.084e-06/0.05154, allocations: 4 kB / 0.8587 GB, free: 1.5 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 0.0002363/0.05177, allocations: 236.2 kB / 0.8589 GB, free: 1.262 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.573e-05/0.05184, allocations: 174.6 kB / 0.8591 GB, free: 1.078 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003135/0.05497, allocations: 2.808 MB / 0.8619 GB, free: 14.25 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.082e-05/0.05498, allocations: 25.7 kB / 0.8619 GB, free: 14.22 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.00114/0.05612, allocations: 1.266 MB / 0.8631 GB, free: 12.95 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.555e-06/0.05613, allocations: 4 kB / 0.8631 GB, free: 12.95 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.952e-05/0.05616, allocations: 19.38 kB / 0.8631 GB, free: 12.92 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.05628, allocations: 492.3 kB / 0.8636 GB, free: 12.43 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.913e-06/0.05629, allocations: 0 / 0.8636 GB, free: 12.43 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.779e-06/0.05629, allocations: 4 kB / 0.8636 GB, free: 12.43 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.571e-05/0.05633, allocations: 119.2 kB / 0.8637 GB, free: 12.31 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.332e-05/0.05636, allocations: 123.1 kB / 0.8638 GB, free: 12.19 MB / 0.823 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0002237/0.05658, allocations: 240.2 kB / 0.8641 GB, free: 11.95 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 4.866e-05/0.05663, allocations: 123.2 kB / 0.8642 GB, free: 11.83 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.412e-05/0.05668, allocations: 131.1 kB / 0.8643 GB, free: 11.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.773e-05/0.05675, allocations: 242.4 kB / 0.8645 GB, free: 11.46 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.534e-05/0.05679, allocations: 123.2 kB / 0.8647 GB, free: 11.34 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.878e-05/0.05686, allocations: 250.3 kB / 0.8649 GB, free: 11.09 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003869/0.05725, allocations: 131.2 kB / 0.865 GB, free: 10.96 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.676e-05/0.05728, allocations: 127.1 kB / 0.8651 GB, free: 10.84 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0003758/0.05766, allocations: 391 kB / 0.8655 GB, free: 10.45 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000223/0.05788, allocations: 367.4 kB / 0.8659 GB, free: 10.08 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002515/0.05813, allocations: 313.1 kB / 0.8662 GB, free: 9.758 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.468e-05/0.05821, allocations: 276.2 kB / 0.8664 GB, free: 9.48 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.017e-05/0.05829, allocations: 276.1 kB / 0.8667 GB, free: 9.203 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.495e-05/0.05836, allocations: 268 kB / 0.867 GB, free: 8.934 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001695/0.06006, allocations: 1.741 MB / 0.8687 GB, free: 7.152 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.277e-05/0.0601, allocations: 148.9 kB / 0.8688 GB, free: 7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.629e-05/0.06015, allocations: 148.8 kB / 0.8689 GB, free: 6.848 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.427e-05/0.06022, allocations: 268.1 kB / 0.8692 GB, free: 6.578 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.799e-05/0.0603, allocations: 272 kB / 0.8695 GB, free: 6.305 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.127e-05/0.06038, allocations: 268.1 kB / 0.8697 GB, free: 6.035 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.486e-05/0.06045, allocations: 268 kB / 0.87 GB, free: 5.766 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003283/0.06078, allocations: 0.6524 MB / 0.8706 GB, free: 5.086 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002986/0.06108, allocations: 347.3 kB / 0.8709 GB, free: 4.738 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002201/0.0613, allocations: 272.1 kB / 0.8712 GB, free: 4.465 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003641/0.06167, allocations: 156.8 kB / 0.8713 GB, free: 4.305 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.675e-05/0.06175, allocations: 268.1 kB / 0.8716 GB, free: 4.035 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.149e-05/0.06179, allocations: 144.9 kB / 0.8717 GB, free: 3.887 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001962/0.06376, allocations: 1.451 MB / 0.8732 GB, free: 2.43 MB / 0.823 GB Notification: Performance of sort global known variables: time 7e-08/0.06376, allocations: 0 / 0.8732 GB, free: 2.43 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0004713/0.06423, allocations: 180 kB / 0.8733 GB, free: 2.254 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0001677/0.06439, allocations: 222.4 kB / 0.8735 GB, free: 2.023 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 6.503e-05/0.06446, allocations: 7.938 kB / 0.8735 GB, free: 2.016 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.06446, allocations: 0 / 0.8735 GB, free: 2.016 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 1.272e-06/0.06446, allocations: 0 / 0.8735 GB, free: 2.016 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004656/0.06912, allocations: 2.603 MB / 0.8761 GB, free: 15.45 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003516/0.07263, allocations: 2.761 MB / 0.8788 GB, free: 12.64 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004855/0.07312, allocations: 0.4998 MB / 0.8793 GB, free: 12.11 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.001153/0.07427, allocations: 311.5 kB / 0.8796 GB, free: 11.8 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001416/0.07441, allocations: 116.5 kB / 0.8797 GB, free: 11.69 MB / 0.8386 GB Notification: Performance of SimCode: time 1.693e-06/0.07442, allocations: 0 / 0.8797 GB, free: 11.69 MB / 0.8386 GB Notification: Performance of Templates: time 0.07497/0.1494, allocations: 53.54 MB / 0.932 GB, free: 7.648 MB / 0.8855 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Templates.Components.Validation.PumpMultipleRecord.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe ; mkfifo Buildings_12_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe >> ../files/Buildings_12_Buildings.Templates.Components.Validation.PumpMultipleRecord.sim & ./Buildings_12_Buildings.Templates.Components.Validation.PumpMultipleRecord -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Templates.Components.Validation.PumpMultipleRecord_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Components_Validation_PumpMultipleRecord.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.867166561074555]