Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_inv.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.001/0.001, allocations: 84.53 kB / 19.93 MB, free: 4.609 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.0009942/0.0009942, allocations: 173.9 kB / 23.21 MB, free: 1.332 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.968/0.968, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.415/2.415, allocations: 439.8 MB / 0.6834 GB, free: 12.92 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 15.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_inv,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_inv") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_inv,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_inv") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 1.082 GB, free: 24.7 MB / 1.01 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.027e-05/2.203e-05, allocations: 2.281 kB / 1.082 GB, free: 24.7 MB / 1.01 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_inv): time 0.002084/0.002106, allocations: 1.384 MB / 1.084 GB, free: 23.74 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.001176/0.003283, allocations: 0.9064 MB / 1.085 GB, free: 23.14 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.693e-05/0.00333, allocations: 0 / 1.085 GB, free: 23.14 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 2.086e-05/0.00335, allocations: 0 / 1.085 GB, free: 23.14 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 8.031e-05/0.003431, allocations: 13.78 kB / 1.085 GB, free: 23.14 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007375/0.004168, allocations: 277.1 kB / 1.085 GB, free: 23.01 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 8.41e-05/0.004252, allocations: 41.03 kB / 1.085 GB, free: 22.99 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 3.995e-05/0.004292, allocations: 2.625 kB / 1.085 GB, free: 22.99 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 4.849e-05/0.004341, allocations: 15.11 kB / 1.085 GB, free: 22.99 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 4.521e-05/0.004386, allocations: 19.22 kB / 1.085 GB, free: 22.98 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 1.44e-05/0.0044, allocations: 6.625 kB / 1.085 GB, free: 22.98 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000674/0.005074, allocations: 499.1 kB / 1.085 GB, free: 22.88 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 2.755e-05/0.005102, allocations: 9.984 kB / 1.085 GB, free: 22.88 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 3.517e-05/0.005137, allocations: 13.19 kB / 1.085 GB, free: 22.87 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0004613/0.005598, allocations: 327.9 kB / 1.086 GB, free: 22.78 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.005601, allocations: 0 / 1.086 GB, free: 22.78 MB / 1.01 GB Notification: Performance of FrontEnd: time 8.82e-07/0.005602, allocations: 0 / 1.086 GB, free: 22.78 MB / 1.01 GB Notification: Performance of Transformations before backend: time 4.558e-06/0.005606, allocations: 2.625 kB / 1.086 GB, free: 22.78 MB / 1.01 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.0004212/0.006028, allocations: 337.5 kB / 1.086 GB, free: 22.45 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.006068, allocations: 10.5 kB / 1.086 GB, free: 22.45 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.831e-05/0.006107, allocations: 4.891 kB / 1.086 GB, free: 22.45 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.275e-05/0.006199, allocations: 117.3 kB / 1.086 GB, free: 22.32 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.006213, allocations: 4.375 kB / 1.086 GB, free: 22.32 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.041e-05/0.006224, allocations: 6.938 kB / 1.086 GB, free: 22.31 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.956e-05/0.006303, allocations: 31.52 kB / 1.086 GB, free: 22.28 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.006311, allocations: 4.125 kB / 1.086 GB, free: 22.28 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.006322, allocations: 7.312 kB / 1.086 GB, free: 22.27 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.006327, allocations: 0 / 1.086 GB, free: 22.27 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.328e-05/0.00636, allocations: 5.25 kB / 1.086 GB, free: 22.27 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000111/0.006471, allocations: 120.7 kB / 1.086 GB, free: 22.14 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 4.897e-05/0.00652, allocations: 26.58 kB / 1.086 GB, free: 22.11 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.809e-05/0.006538, allocations: 14.86 kB / 1.086 GB, free: 22.1 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 1.736e-05/0.006556, allocations: 2.656 kB / 1.086 GB, free: 22.1 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.408e-05/0.00657, allocations: 34.56 kB / 1.086 GB, free: 22.05 MB / 1.01 GB Notification: Performance of pre-optimization done (n=2): time 7.71e-07/0.006571, allocations: 0 / 1.086 GB, free: 22.05 MB / 1.01 GB Notification: Performance of matching and sorting (n=2): time 0.000125/0.006696, allocations: 40.64 kB / 1.087 GB, free: 22.02 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.801e-05/0.006714, allocations: 55.34 kB / 1.087 GB, free: 21.96 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.122e-05/0.006775, allocations: 134.3 kB / 1.087 GB, free: 21.84 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 4.689e-06/0.00678, allocations: 25.7 kB / 1.087 GB, free: 21.81 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 1.93e-05/0.006799, allocations: 80.14 kB / 1.087 GB, free: 21.73 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 1.334e-05/0.006812, allocations: 15.27 kB / 1.087 GB, free: 21.72 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.583e-05/0.006838, allocations: 22.77 kB / 1.087 GB, free: 21.7 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 3.251e-05/0.006871, allocations: 317.2 kB / 1.087 GB, free: 21.39 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.567e-05/0.006896, allocations: 20.5 kB / 1.087 GB, free: 21.38 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.713e-05/0.006913, allocations: 16.31 kB / 1.087 GB, free: 21.37 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.431e-05/0.006958, allocations: 45.2 kB / 1.087 GB, free: 21.34 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.006959, allocations: 0 / 1.087 GB, free: 21.34 MB / 1.01 GB Notification: Performance of matching and sorting (n=11) (initialization): time 6.771e-05/0.007027, allocations: 82.12 kB / 1.087 GB, free: 21.29 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.007038, allocations: 2.562 kB / 1.087 GB, free: 21.29 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/0.00705, allocations: 2.531 kB / 1.087 GB, free: 21.29 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.007062, allocations: 96 / 1.087 GB, free: 21.29 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000134/0.007196, allocations: 40.2 kB / 1.087 GB, free: 21.27 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001827/0.007379, allocations: 0.6035 MB / 1.088 GB, free: 20.66 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.798e-05/0.007397, allocations: 14.58 kB / 1.088 GB, free: 20.65 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.007404, allocations: 2.938 kB / 1.088 GB, free: 20.65 MB / 1.01 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 4.019e-05/0.007444, allocations: 108.3 kB / 1.088 GB, free: 20.54 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.74e-06/0.00745, allocations: 10.64 kB / 1.088 GB, free: 20.53 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.12e-05/0.007521, allocations: 51.17 kB / 1.088 GB, free: 20.49 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.22e-07/0.007522, allocations: 0 / 1.088 GB, free: 20.49 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.007525, allocations: 8.062 kB / 1.088 GB, free: 20.48 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.007528, allocations: 0 / 1.088 GB, free: 20.48 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.213e-05/0.00757, allocations: 112.7 kB / 1.088 GB, free: 20.36 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.007571, allocations: 0 / 1.088 GB, free: 20.36 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.999e-05/0.007621, allocations: 23.83 kB / 1.088 GB, free: 20.35 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.007623, allocations: 3.938 kB / 1.088 GB, free: 20.35 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.621e-06/0.007629, allocations: 0 / 1.088 GB, free: 20.35 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001138/0.007743, allocations: 0.5981 MB / 1.089 GB, free: 19.75 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.007743, allocations: 0 / 1.089 GB, free: 19.75 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.023e-05/0.007784, allocations: 78.47 kB / 1.089 GB, free: 19.68 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 7.334e-06/0.007791, allocations: 3.953 kB / 1.089 GB, free: 19.67 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.719e-06/0.007801, allocations: 2.906 kB / 1.089 GB, free: 19.67 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.644e-06/0.007808, allocations: 0 / 1.089 GB, free: 19.67 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.176e-05/0.00782, allocations: 0 / 1.089 GB, free: 19.67 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.465e-06/0.007823, allocations: 2.125 kB / 1.089 GB, free: 19.67 MB / 1.01 GB Notification: Performance of sorting global known variables: time 2.651e-05/0.007849, allocations: 97.61 kB / 1.089 GB, free: 19.59 MB / 1.01 GB Notification: Performance of sort global known variables: time 6e-08/0.007849, allocations: 0 / 1.089 GB, free: 19.59 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0001514/0.008, allocations: 38.97 kB / 1.089 GB, free: 19.58 MB / 1.01 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.0001409/0.008141, allocations: 141.4 kB / 1.089 GB, free: 19.48 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0001483/0.00829, allocations: 74.16 kB / 1.089 GB, free: 19.43 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.008291, allocations: 0 / 1.089 GB, free: 19.43 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 3.871e-05/0.00833, allocations: 24.83 kB / 1.089 GB, free: 19.43 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001448/0.008475, allocations: 10.39 kB / 1.089 GB, free: 19.43 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002455/0.00872, allocations: 159.1 kB / 1.089 GB, free: 19.27 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.79e-05/0.008748, allocations: 75.86 kB / 1.09 GB, free: 19.19 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.24e-05/0.008761, allocations: 11.31 kB / 1.09 GB, free: 19.18 MB / 1.01 GB Notification: Performance of SimCode: time 4.11e-07/0.008761, allocations: 0 / 1.09 GB, free: 19.18 MB / 1.01 GB Notification: Performance of Templates: time 0.002109/0.01087, allocations: 1.312 MB / 1.091 GB, free: 19.1 MB / 1.01 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_inv.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_inv.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_inv.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_inv.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_inv.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_inv -emit_protected > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_inv.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_inv_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingPowerLaw_dp_inv.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: 7.905449850484729]