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.001033/0.001033, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.001132/0.001132, allocations: 169.4 kB / 24.06 MB, free: 456 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.9659/0.9659, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.295/2.295, allocations: 429.5 MB / 0.6743 GB, free: 3.902 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 2.535e-06/2.535e-06, allocations: 0 / 0.8794 GB, free: 5.984 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.417e-05/2.67e-05, allocations: 2.312 kB / 0.8794 GB, free: 5.98 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws): time 0.002827/0.002854, allocations: 1.435 MB / 0.8808 GB, free: 4.559 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001448/0.004302, allocations: 0.9067 MB / 0.8817 GB, free: 3.656 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.071e-05/0.004342, allocations: 0 / 0.8817 GB, free: 3.656 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 5.571e-05/0.004398, allocations: 7.922 kB / 0.8817 GB, free: 3.648 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001566/0.004555, allocations: 21 kB / 0.8817 GB, free: 3.629 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006079/0.005162, allocations: 239.8 kB / 0.882 GB, free: 3.398 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002357/0.005398, allocations: 179.6 kB / 0.8821 GB, free: 3.223 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.718e-05/0.005445, allocations: 4 kB / 0.8821 GB, free: 3.219 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001048/0.00555, allocations: 71.88 kB / 0.8822 GB, free: 3.148 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001372/0.005687, allocations: 63.92 kB / 0.8823 GB, free: 3.086 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.705e-05/0.005714, allocations: 8 kB / 0.8823 GB, free: 3.078 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005886/0.006303, allocations: 391.4 kB / 0.8826 GB, free: 2.695 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 8.87e-05/0.006392, allocations: 59.84 kB / 0.8827 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 6.439e-05/0.006456, allocations: 45.52 kB / 0.8827 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0005259/0.006982, allocations: 394.9 kB / 0.8831 GB, free: 2.207 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.006984, allocations: 0 / 0.8831 GB, free: 2.207 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.12e-07/0.006985, allocations: 0 / 0.8831 GB, free: 2.207 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.006992, allocations: 5.031 kB / 0.8831 GB, free: 2.203 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.0005951/0.007587, allocations: 0.5108 MB / 0.8836 GB, free: 1.652 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.007632, allocations: 9.094 kB / 0.8836 GB, free: 1.645 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006542/0.008287, allocations: 144.4 kB / 0.8838 GB, free: 1.504 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/0.008417, allocations: 132 kB / 0.8839 GB, free: 1.348 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.387e-05/0.008441, allocations: 4.375 kB / 0.8839 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.417e-05/0.008465, allocations: 4.375 kB / 0.8839 GB, free: 1.34 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002825/0.008748, allocations: 125.4 kB / 0.884 GB, free: 1.211 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.008757, allocations: 192 / 0.884 GB, free: 1.211 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.674e-05/0.008774, allocations: 384 / 0.884 GB, free: 1.211 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.008782, allocations: 384 / 0.884 GB, free: 1.211 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000159/0.008941, allocations: 63.86 kB / 0.8841 GB, free: 1.148 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000452/0.009393, allocations: 322 kB / 0.8844 GB, free: 0.8086 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002605/0.009653, allocations: 111 kB / 0.8845 GB, free: 0.6875 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.134e-05/0.009744, allocations: 43.7 kB / 0.8845 GB, free: 0.6406 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.454e-05/0.009759, allocations: 0.7188 kB / 0.8845 GB, free: 0.6406 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.009787, allocations: 41.39 kB / 0.8846 GB, free: 0.5898 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=10): time 1.172e-06/0.009788, allocations: 1.656 kB / 0.8846 GB, free: 0.5898 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10): time 0.0003885/0.01018, allocations: 137.4 kB / 0.8847 GB, free: 460 kB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.744e-05/0.01021, allocations: 51.94 kB / 0.8848 GB, free: 396 kB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001841/0.0104, allocations: 262.5 kB / 0.885 GB, free: 116 kB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.718e-05/0.01043, allocations: 30.69 kB / 0.885 GB, free: 80 kB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.01053, allocations: 151.2 kB / 0.8852 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.56e-05/0.01056, allocations: 39.67 kB / 0.8852 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001092/0.01067, allocations: 79.23 kB / 0.8853 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001742/0.01085, allocations: 0.504 MB / 0.8858 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000101/0.01095, allocations: 47.97 kB / 0.8858 GB, free: 15.24 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001304/0.01108, allocations: 88.88 kB / 0.8859 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002124/0.01129, allocations: 132.6 kB / 0.8861 GB, free: 15.01 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.01129, allocations: 112 / 0.8861 GB, free: 15.01 MB / 0.8542 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0003604/0.01165, allocations: 209.2 kB / 0.8863 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.01167, allocations: 4 kB / 0.8863 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.266e-05/0.01169, allocations: 8 kB / 0.8863 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.0117, allocations: 3.938 kB / 0.8863 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001772/0.01188, allocations: 27.97 kB / 0.8863 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.586e-06/0.01188, allocations: 3.938 kB / 0.8863 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001219/0.01201, allocations: 39.72 kB / 0.8863 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.985e-05/0.01203, allocations: 4 kB / 0.8863 GB, free: 14.71 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 0.0001062/0.01213, allocations: 164.6 kB / 0.8865 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.872e-05/0.01218, allocations: 15.94 kB / 0.8865 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.584e-05/0.01222, allocations: 13.47 kB / 0.8865 GB, free: 14.51 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.012e-06/0.01222, allocations: 7.938 kB / 0.8865 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.01223, allocations: 0 / 0.8865 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.01223, allocations: 0 / 0.8865 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001822/0.01241, allocations: 137.1 kB / 0.8867 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.297e-06/0.01241, allocations: 4 kB / 0.8867 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001566/0.01257, allocations: 31.91 kB / 0.8867 GB, free: 14.31 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.01257, allocations: 3.984 kB / 0.8867 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/0.01259, allocations: 8 kB / 0.8867 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.01259, allocations: 4 kB / 0.8867 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.01259, allocations: 0 / 0.8867 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003126/0.01291, allocations: 264 kB / 0.887 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.632e-05/0.01292, allocations: 7.953 kB / 0.887 GB, free: 14.01 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.826e-05/0.01295, allocations: 8 kB / 0.887 GB, free: 14 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.01308, allocations: 7.984 kB / 0.887 GB, free: 13.99 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.192e-05/0.01311, allocations: 7.984 kB / 0.887 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.657e-05/0.01313, allocations: 7.922 kB / 0.887 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 9.695e-05/0.01322, allocations: 169 kB / 0.8872 GB, free: 13.81 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01322, allocations: 4 kB / 0.8872 GB, free: 13.81 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003505/0.01358, allocations: 47.94 kB / 0.8872 GB, free: 13.76 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.0001595/0.01373, allocations: 111.2 kB / 0.8873 GB, free: 13.64 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003403/0.01407, allocations: 224.7 kB / 0.8875 GB, free: 13.4 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01408, allocations: 0 / 0.8875 GB, free: 13.4 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.903e-05/0.01418, allocations: 51.59 kB / 0.8876 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003512/0.01453, allocations: 37.5 kB / 0.8876 GB, free: 13.31 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005808/0.01511, allocations: 292.7 kB / 0.8879 GB, free: 12.99 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.082e-05/0.01517, allocations: 83.25 kB / 0.888 GB, free: 12.89 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 9.977e-05/0.01527, allocations: 16.48 kB / 0.888 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001615/0.01543, allocations: 98.17 kB / 0.8881 GB, free: 12.78 MB / 0.8542 GB Notification: Performance of SimCode: time 7.01e-07/0.01543, allocations: 0 / 0.8881 GB, free: 12.78 MB / 0.8542 GB Notification: Performance of Templates: time 0.006231/0.02166, allocations: 3.087 MB / 0.8911 GB, free: 9.715 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.727337024174631]