Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws.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.0009694/0.0009694, 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.000995/0.000995, allocations: 169 kB / 23.02 MB, free: 1.547 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.9409/0.9409, 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 2.046/2.046, allocations: 429.5 MB / 0.6732 GB, free: 4.035 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.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow.[0-9,]+.|m_flow_nominal|dp|dpCalc.[0-9,]+.|deltaDp.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow.[0-9,]+.|m_flow_nominal|dp|dpCalc.[0-9,]+.|deltaDp.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.8782 GB, free: 6.281 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.176e-05/2.335e-05, allocations: 3.188 kB / 0.8782 GB, free: 6.277 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws): time 0.002482/0.002506, allocations: 1.428 MB / 0.8796 GB, free: 4.859 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001038/0.003544, allocations: 0.9211 MB / 0.8805 GB, free: 3.945 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.486e-05/0.003579, allocations: 0 / 0.8805 GB, free: 3.945 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 5.148e-05/0.00363, allocations: 7.922 kB / 0.8805 GB, free: 3.938 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001545/0.003785, allocations: 24.84 kB / 0.8805 GB, free: 3.914 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005459/0.004331, allocations: 229.9 kB / 0.8807 GB, free: 3.691 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001864/0.004517, allocations: 175.6 kB / 0.8809 GB, free: 3.52 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 5.437e-05/0.004572, allocations: 9.562 kB / 0.8809 GB, free: 3.512 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8.521e-05/0.004657, allocations: 71.88 kB / 0.881 GB, free: 3.441 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001252/0.004782, allocations: 75.84 kB / 0.8811 GB, free: 3.367 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.317e-05/0.004805, allocations: 8 kB / 0.8811 GB, free: 3.359 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004256/0.005231, allocations: 385 kB / 0.8814 GB, free: 2.984 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 7.962e-05/0.00531, allocations: 63.83 kB / 0.8815 GB, free: 2.922 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.671e-05/0.005367, allocations: 43.89 kB / 0.8815 GB, free: 2.879 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000411/0.005778, allocations: 390.9 kB / 0.8819 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.00578, allocations: 0.9375 kB / 0.8819 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.52e-07/0.005781, allocations: 0 / 0.8819 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.95e-06/0.005786, allocations: 0 / 0.8819 GB, free: 2.496 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005983/0.006384, allocations: 0.5158 MB / 0.8824 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.006422, allocations: 8.031 kB / 0.8824 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004833/0.006905, allocations: 153.6 kB / 0.8826 GB, free: 1.785 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.007019, allocations: 125.4 kB / 0.8827 GB, free: 1.633 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.803e-05/0.007037, allocations: 5.938 kB / 0.8827 GB, free: 1.629 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.346e-05/0.00706, allocations: 8.375 kB / 0.8827 GB, free: 1.621 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002371/0.007297, allocations: 122.1 kB / 0.8828 GB, free: 1.496 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.007308, allocations: 4.188 kB / 0.8828 GB, free: 1.492 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/0.007324, allocations: 384 / 0.8828 GB, free: 1.492 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.007334, allocations: 384 / 0.8828 GB, free: 1.492 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001446/0.007478, allocations: 83.8 kB / 0.8829 GB, free: 1.41 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004527/0.007931, allocations: 359.5 kB / 0.8832 GB, free: 1.023 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002483/0.008179, allocations: 128.4 kB / 0.8834 GB, free: 0.8867 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.884e-05/0.008268, allocations: 55.7 kB / 0.8834 GB, free: 0.8281 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.008287, allocations: 0 / 0.8834 GB, free: 0.8281 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.047e-05/0.008318, allocations: 42.42 kB / 0.8835 GB, free: 0.7773 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=10): time 9.62e-07/0.008319, allocations: 4 kB / 0.8835 GB, free: 0.7734 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10): time 0.0003718/0.00869, allocations: 157.4 kB / 0.8836 GB, free: 0.6133 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.569e-05/0.008726, allocations: 55.41 kB / 0.8837 GB, free: 0.5469 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001508/0.008877, allocations: 256.1 kB / 0.8839 GB, free: 288 kB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/0.008896, allocations: 33.64 kB / 0.8839 GB, free: 248 kB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.264e-05/0.008969, allocations: 151.2 kB / 0.8841 GB, free: 92 kB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.56e-05/0.008994, allocations: 35.73 kB / 0.8841 GB, free: 56 kB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.281e-05/0.009087, allocations: 75.28 kB / 0.8842 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.009235, allocations: 0.5001 MB / 0.8847 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001001/0.009335, allocations: 59.97 kB / 0.8847 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001175/0.009453, allocations: 108.9 kB / 0.8848 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001934/0.009646, allocations: 159.9 kB / 0.885 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.009649, allocations: 4 kB / 0.885 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0002836/0.009932, allocations: 213.3 kB / 0.8852 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.009945, allocations: 4 kB / 0.8852 GB, free: 14.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.994e-05/0.009965, allocations: 15.92 kB / 0.8852 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.009981, allocations: 0 / 0.8852 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001404/0.01012, allocations: 35.94 kB / 0.8853 GB, free: 14.85 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.01013, allocations: 4 kB / 0.8853 GB, free: 14.85 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.819e-05/0.01021, allocations: 35.72 kB / 0.8853 GB, free: 14.81 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.454e-05/0.01022, allocations: 4 kB / 0.8853 GB, free: 14.81 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.869e-05/0.0103, allocations: 160.6 kB / 0.8855 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.211e-05/0.01033, allocations: 15.89 kB / 0.8855 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.802e-05/0.01037, allocations: 21.41 kB / 0.8855 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.01037, allocations: 0 / 0.8855 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.01038, allocations: 0 / 0.8855 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.01038, allocations: 4 kB / 0.8855 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000134/0.01051, allocations: 164.5 kB / 0.8856 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.01051, allocations: 3.938 kB / 0.8857 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.331e-05/0.01061, allocations: 27.97 kB / 0.8857 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.01061, allocations: 0 / 0.8857 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.385e-05/0.01062, allocations: 7.984 kB / 0.8857 GB, free: 14.37 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002505/0.01087, allocations: 7.938 kB / 0.8857 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.01088, allocations: 0 / 0.8857 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002512/0.01113, allocations: 272.1 kB / 0.886 GB, free: 14.08 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.35e-05/0.01114, allocations: 11.95 kB / 0.886 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.941e-05/0.01116, allocations: 4 kB / 0.886 GB, free: 14.06 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.811e-05/0.01124, allocations: 11.92 kB / 0.886 GB, free: 14.05 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.592e-05/0.01126, allocations: 7.984 kB / 0.886 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.757e-06/0.01127, allocations: 4 kB / 0.886 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.806e-05/0.01134, allocations: 176.1 kB / 0.8862 GB, free: 13.87 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01134, allocations: 0 / 0.8862 GB, free: 13.87 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002019/0.01154, allocations: 51.94 kB / 0.8862 GB, free: 13.82 MB / 0.8542 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 (10): * Single equations (assignments): 10 * 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.0001355/0.01168, allocations: 111.2 kB / 0.8863 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002949/0.01197, allocations: 248.7 kB / 0.8866 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01197, allocations: 7.938 kB / 0.8866 GB, free: 13.42 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.671e-05/0.01205, allocations: 51.66 kB / 0.8866 GB, free: 13.37 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002391/0.01229, allocations: 37.78 kB / 0.8866 GB, free: 13.33 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004929/0.01278, allocations: 300.8 kB / 0.8869 GB, free: 13.01 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.202e-05/0.01284, allocations: 79.31 kB / 0.887 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.694e-05/0.01292, allocations: 32.45 kB / 0.887 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.545e-05/0.01299, allocations: 24.48 kB / 0.8871 GB, free: 12.85 MB / 0.8542 GB Notification: Performance of SimCode: time 5e-07/0.01299, allocations: 0 / 0.8871 GB, free: 12.85 MB / 0.8542 GB Notification: Performance of Templates: time 0.003995/0.01698, allocations: 2.813 MB / 0.8898 GB, free: 10.07 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_InversePowerLaws.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.441203058231622]