Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp.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.001389/0.001389, 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.001403/0.001403, allocations: 173 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.9734/0.9734, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.069/2.069, allocations: 429.5 MB / 0.6732 GB, free: 4.047 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.InvertingPowerLaw_dp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.624e-06/1.624e-06, allocations: 0 / 0.8782 GB, free: 6.301 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.607e-05/2.769e-05, allocations: 3.344 kB / 0.8782 GB, free: 6.297 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp): time 0.001868/0.001895, allocations: 1.409 MB / 0.8796 GB, free: 4.898 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0009139/0.002809, allocations: 0.9007 MB / 0.8805 GB, free: 4 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.289e-05/0.002842, allocations: 1.688 kB / 0.8805 GB, free: 4 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.152e-05/0.002864, allocations: 4 kB / 0.8805 GB, free: 3.996 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.588e-05/0.002939, allocations: 11.86 kB / 0.8805 GB, free: 3.984 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004551/0.003395, allocations: 210.1 kB / 0.8807 GB, free: 3.781 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.896e-05/0.003464, allocations: 39.78 kB / 0.8807 GB, free: 3.742 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.594e-05/0.003499, allocations: 4 kB / 0.8807 GB, free: 3.738 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.026e-05/0.00354, allocations: 17.58 kB / 0.8807 GB, free: 3.723 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.124e-05/0.003581, allocations: 19.92 kB / 0.8807 GB, free: 3.703 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.21e-05/0.003593, allocations: 0 / 0.8807 GB, free: 3.703 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006423/0.004235, allocations: 383.3 kB / 0.8811 GB, free: 3.328 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.685e-05/0.004252, allocations: 5.922 kB / 0.8811 GB, free: 3.324 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.471e-05/0.004277, allocations: 19.94 kB / 0.8811 GB, free: 3.305 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003073/0.004584, allocations: 287.2 kB / 0.8814 GB, free: 3.023 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.004586, allocations: 0 / 0.8814 GB, free: 3.023 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.22e-07/0.004587, allocations: 0 / 0.8814 GB, free: 3.023 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.004591, allocations: 6.594 kB / 0.8814 GB, free: 3.02 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003589/0.00495, allocations: 435.7 kB / 0.8818 GB, free: 2.555 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.004992, allocations: 8.031 kB / 0.8818 GB, free: 2.547 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001971/0.005189, allocations: 32.73 kB / 0.8819 GB, free: 2.516 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.121e-05/0.00528, allocations: 112.6 kB / 0.882 GB, free: 2.379 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.005294, allocations: 4.375 kB / 0.882 GB, free: 2.375 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.167e-06/0.005303, allocations: 384 / 0.882 GB, free: 2.375 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001078/0.005411, allocations: 58.94 kB / 0.882 GB, free: 2.309 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.005418, allocations: 192 / 0.882 GB, free: 2.309 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.005428, allocations: 4.359 kB / 0.882 GB, free: 2.305 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.005435, allocations: 384 / 0.882 GB, free: 2.305 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.66e-05/0.005461, allocations: 15.94 kB / 0.8821 GB, free: 2.289 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001245/0.005586, allocations: 124.6 kB / 0.8822 GB, free: 2.133 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.025e-05/0.005646, allocations: 42.98 kB / 0.8822 GB, free: 2.078 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.06e-05/0.005667, allocations: 11.75 kB / 0.8822 GB, free: 2.062 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.046e-05/0.005677, allocations: 4 kB / 0.8822 GB, free: 2.059 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.134e-05/0.005698, allocations: 37.39 kB / 0.8823 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.005699, allocations: 0 / 0.8823 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001459/0.005845, allocations: 53.64 kB / 0.8823 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.985e-05/0.005875, allocations: 55.34 kB / 0.8824 GB, free: 1.887 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.333e-05/0.005968, allocations: 185.8 kB / 0.8825 GB, free: 1.688 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.193e-05/0.00598, allocations: 29.7 kB / 0.8826 GB, free: 1.652 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.738e-05/0.006028, allocations: 134.8 kB / 0.8827 GB, free: 1.516 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.555e-05/0.006043, allocations: 11.88 kB / 0.8827 GB, free: 1.504 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.415e-05/0.006077, allocations: 27.38 kB / 0.8827 GB, free: 1.469 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.006189, allocations: 0.4963 MB / 0.8832 GB, free: 0.9609 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.299e-05/0.006212, allocations: 8 kB / 0.8832 GB, free: 0.9531 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.075e-05/0.006233, allocations: 19.98 kB / 0.8833 GB, free: 0.9336 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.874e-05/0.006282, allocations: 27.69 kB / 0.8833 GB, free: 0.9023 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.006284, allocations: 0 / 0.8833 GB, free: 0.9023 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11) (initialization): time 8.427e-05/0.006368, allocations: 77.62 kB / 0.8834 GB, free: 0.8203 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.006379, allocations: 4 kB / 0.8834 GB, free: 0.8164 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.561e-05/0.006395, allocations: 7.984 kB / 0.8834 GB, free: 0.8086 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.006406, allocations: 0 / 0.8834 GB, free: 0.8086 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003579/0.006764, allocations: 51.94 kB / 0.8834 GB, free: 0.7578 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001056/0.00782, allocations: 1.864 MB / 0.8852 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.247e-05/0.007842, allocations: 0 / 0.8852 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.007851, allocations: 12.12 kB / 0.8852 GB, free: 14.77 MB / 0.8542 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 (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.093e-05/0.007922, allocations: 152.6 kB / 0.8854 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.698e-06/0.007931, allocations: 15.83 kB / 0.8854 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.151e-05/0.007943, allocations: 7.609 kB / 0.8854 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.007944, allocations: 0 / 0.8854 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.72e-07/0.007945, allocations: 0 / 0.8854 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.007948, allocations: 0 / 0.8854 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.721e-05/0.008025, allocations: 128.6 kB / 0.8855 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.008027, allocations: 0 / 0.8855 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004536/0.00848, allocations: 75.91 kB / 0.8856 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.008482, allocations: 0 / 0.8856 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.00849, allocations: 3.938 kB / 0.8856 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008514/0.009341, allocations: 1.854 MB / 0.8874 GB, free: 12.37 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.009342, allocations: 0 / 0.8874 GB, free: 12.37 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.607e-05/0.009408, allocations: 88.27 kB / 0.8875 GB, free: 12.26 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.661e-06/0.009414, allocations: 4 kB / 0.8875 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.027e-05/0.009424, allocations: 7.984 kB / 0.8875 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.219e-05/0.009446, allocations: 0 / 0.8875 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.154e-05/0.009468, allocations: 4 kB / 0.8875 GB, free: 12.24 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-06/0.009471, allocations: 4.094 kB / 0.8875 GB, free: 12.24 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.114e-05/0.009512, allocations: 138.5 kB / 0.8877 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.009512, allocations: 0 / 0.8877 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001548/0.009667, allocations: 24 kB / 0.8877 GB, free: 12.08 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000122/0.009789, allocations: 115.2 kB / 0.8878 GB, free: 11.96 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0006423/0.01043, allocations: 121.2 kB / 0.8879 GB, free: 11.83 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.532e-06/0.01043, allocations: 7.938 kB / 0.8879 GB, free: 11.82 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0003816/0.01081, allocations: 91.58 kB / 0.888 GB, free: 11.73 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000147/0.01096, allocations: 13.81 kB / 0.888 GB, free: 11.72 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002536/0.01121, allocations: 126.4 kB / 0.8881 GB, free: 11.57 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.922e-05/0.01124, allocations: 67.09 kB / 0.8882 GB, free: 11.48 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.378e-05/0.01126, allocations: 0 / 0.8882 GB, free: 11.48 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.574e-05/0.01127, allocations: 12.5 kB / 0.8882 GB, free: 11.47 MB / 0.8542 GB Notification: Performance of SimCode: time 7.21e-07/0.01127, allocations: 0 / 0.8882 GB, free: 11.47 MB / 0.8542 GB Notification: Performance of Templates: time 0.002967/0.01424, allocations: 1.581 MB / 0.8898 GB, free: 9.914 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingPowerLaw_dp.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.340439387131482]