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.001385/0.001385, 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.001432/0.001432, allocations: 169 kB / 23.02 MB, free: 1.551 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 1.033/1.033, 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.214/2.214, allocations: 429.5 MB / 0.6733 GB, free: 4.027 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.342e-06/1.342e-06, allocations: 0 / 0.8782 GB, free: 6.148 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.379e-05/1.513e-05, allocations: 5.781 kB / 0.8782 GB, free: 6.145 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp): time 0.001634/0.001649, allocations: 1.398 MB / 0.8796 GB, free: 4.75 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0009475/0.002597, allocations: 0.9068 MB / 0.8804 GB, free: 3.848 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.439e-05/0.002631, allocations: 1.344 kB / 0.8804 GB, free: 3.848 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.891e-05/0.00266, allocations: 7.938 kB / 0.8805 GB, free: 3.84 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.836e-05/0.002729, allocations: 3.938 kB / 0.8805 GB, free: 3.836 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004335/0.003162, allocations: 218.8 kB / 0.8807 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.883e-05/0.003231, allocations: 31.86 kB / 0.8807 GB, free: 3.594 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.525e-05/0.003276, allocations: 7.938 kB / 0.8807 GB, free: 3.586 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.693e-05/0.003323, allocations: 20.84 kB / 0.8807 GB, free: 3.566 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.182e-05/0.003365, allocations: 8 kB / 0.8807 GB, free: 3.559 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.322e-05/0.003378, allocations: 3.938 kB / 0.8807 GB, free: 3.555 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004035/0.003782, allocations: 388.4 kB / 0.8811 GB, free: 3.176 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.406e-05/0.003796, allocations: 3.938 kB / 0.8811 GB, free: 3.172 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.128e-05/0.003817, allocations: 17.09 kB / 0.8811 GB, free: 3.156 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003077/0.004125, allocations: 287.2 kB / 0.8814 GB, free: 2.875 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.004127, allocations: 0 / 0.8814 GB, free: 2.875 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.12e-07/0.004127, allocations: 1.125 kB / 0.8814 GB, free: 2.875 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.004131, allocations: 4 kB / 0.8814 GB, free: 2.871 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.0003623/0.004493, allocations: 443.6 kB / 0.8818 GB, free: 2.398 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.004528, allocations: 9.062 kB / 0.8818 GB, free: 2.391 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001895/0.004717, allocations: 24.81 kB / 0.8819 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.593e-05/0.004803, allocations: 116 kB / 0.882 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.004817, allocations: 8.375 kB / 0.882 GB, free: 2.223 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.101e-05/0.004828, allocations: 384 / 0.882 GB, free: 2.223 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001041/0.004932, allocations: 58.88 kB / 0.882 GB, free: 2.156 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.004942, allocations: 192 / 0.882 GB, free: 2.156 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-06/0.00495, allocations: 384 / 0.882 GB, free: 2.156 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.004957, allocations: 384 / 0.882 GB, free: 2.156 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.596e-05/0.004983, allocations: 11.94 kB / 0.8821 GB, free: 2.145 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001123/0.005096, allocations: 128.6 kB / 0.8822 GB, free: 1.984 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.941e-05/0.005155, allocations: 40.02 kB / 0.8822 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.12e-05/0.005176, allocations: 12.34 kB / 0.8822 GB, free: 1.918 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.593e-05/0.005192, allocations: 3.938 kB / 0.8822 GB, free: 1.914 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.972e-05/0.005212, allocations: 38.8 kB / 0.8823 GB, free: 1.867 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 6.61e-07/0.005213, allocations: 0 / 0.8823 GB, free: 1.867 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001386/0.005351, allocations: 53.64 kB / 0.8823 GB, free: 1.809 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.35e-05/0.005375, allocations: 52.69 kB / 0.8824 GB, free: 1.746 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.579e-05/0.00546, allocations: 189.2 kB / 0.8825 GB, free: 1.547 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/0.005472, allocations: 25.7 kB / 0.8826 GB, free: 1.516 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.967e-05/0.005512, allocations: 140.1 kB / 0.8827 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.643e-05/0.005528, allocations: 7.953 kB / 0.8827 GB, free: 1.367 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.593e-05/0.005564, allocations: 23.38 kB / 0.8827 GB, free: 1.336 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.863e-05/0.005663, allocations: 0.4924 MB / 0.8832 GB, free: 0.832 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.512e-05/0.005688, allocations: 12 kB / 0.8832 GB, free: 0.8203 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.352e-05/0.005711, allocations: 23.92 kB / 0.8832 GB, free: 0.7969 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.549e-05/0.005757, allocations: 27.69 kB / 0.8833 GB, free: 0.7656 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.005758, allocations: 0 / 0.8833 GB, free: 0.7656 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11) (initialization): time 8.356e-05/0.005842, allocations: 81.61 kB / 0.8834 GB, free: 0.6797 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/0.005853, allocations: 4 kB / 0.8834 GB, free: 0.6758 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.453e-05/0.005867, allocations: 4 kB / 0.8834 GB, free: 0.6719 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.005881, allocations: 0 / 0.8834 GB, free: 0.6719 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003595/0.006241, allocations: 59.92 kB / 0.8834 GB, free: 0.6133 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001002/0.007242, allocations: 1.856 MB / 0.8852 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.163e-05/0.007264, allocations: 0 / 0.8852 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.007272, allocations: 4.219 kB / 0.8852 GB, free: 14.64 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 6.218e-05/0.007334, allocations: 164.5 kB / 0.8854 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.352e-05/0.007418, allocations: 19.86 kB / 0.8854 GB, free: 14.45 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.808e-06/0.007428, allocations: 3.625 kB / 0.8854 GB, free: 14.43 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.22e-07/0.007429, allocations: 0 / 0.8854 GB, free: 14.43 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-07/0.007429, allocations: 0 / 0.8854 GB, free: 14.43 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.007431, allocations: 0 / 0.8854 GB, free: 14.43 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.274e-05/0.007494, allocations: 124.6 kB / 0.8855 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.007495, allocations: 0 / 0.8855 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003692/0.007865, allocations: 79.91 kB / 0.8856 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.007866, allocations: 0 / 0.8856 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-06/0.007874, allocations: 3.938 kB / 0.8856 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008336/0.008707, allocations: 1.85 MB / 0.8874 GB, free: 12.23 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.008709, allocations: 3.984 kB / 0.8874 GB, free: 12.23 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.379e-05/0.008773, allocations: 84.34 kB / 0.8875 GB, free: 12.12 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.332e-06/0.008779, allocations: 7.984 kB / 0.8875 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.488e-06/0.008783, allocations: 3.938 kB / 0.8875 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.636e-05/0.0088, allocations: 0 / 0.8875 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.064e-05/0.00882, allocations: 7.938 kB / 0.8875 GB, free: 12.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-06/0.008823, allocations: 96 / 0.8875 GB, free: 12.1 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.1e-05/0.008864, allocations: 139.2 kB / 0.8877 GB, free: 11.96 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9e-08/0.008864, allocations: 0 / 0.8877 GB, free: 11.96 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001536/0.009018, allocations: 27.98 kB / 0.8877 GB, free: 11.94 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.0001245/0.009142, allocations: 115.2 kB / 0.8878 GB, free: 11.82 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004264/0.009569, allocations: 125.3 kB / 0.8879 GB, free: 11.68 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.00957, allocations: 4 kB / 0.8879 GB, free: 11.68 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0003743/0.009945, allocations: 91.53 kB / 0.888 GB, free: 11.59 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001424/0.01009, allocations: 17.94 kB / 0.888 GB, free: 11.57 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002633/0.01035, allocations: 126.4 kB / 0.8881 GB, free: 11.42 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.409e-05/0.01038, allocations: 63.16 kB / 0.8882 GB, free: 11.34 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.534e-05/0.0104, allocations: 3.984 kB / 0.8882 GB, free: 11.33 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.596e-05/0.01042, allocations: 12.5 kB / 0.8882 GB, free: 11.32 MB / 0.8542 GB Notification: Performance of SimCode: time 8.51e-07/0.01042, allocations: 0 / 0.8882 GB, free: 11.32 MB / 0.8542 GB Notification: Performance of Templates: time 0.002878/0.0133, allocations: 1.426 MB / 0.8896 GB, free: 9.922 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.648890818003565]