Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck.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.001269/0.001269, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001471/0.001471, allocations: 181 kB / 23.36 MB, free: 1.129 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.9929/0.9929, allocations: 177.2 MB / 203.8 MB, free: 5.5 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.35/2.35, allocations: 438.8 MB / 0.6827 GB, free: 13.65 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.PowerLaw_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 0.8386 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.19e-05/2.305e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck): time 0.001854/0.001877, allocations: 1.407 MB / 0.84 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0009622/0.00284, allocations: 0.918 MB / 0.8409 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.177e-05/0.002871, allocations: 0 / 0.8409 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.853e-05/0.00289, allocations: 7.938 kB / 0.8409 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 4.864e-05/0.002939, allocations: 11.86 kB / 0.8409 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004826/0.003421, allocations: 210.9 kB / 0.8411 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 6.993e-05/0.003491, allocations: 47.78 kB / 0.8411 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.522e-05/0.003526, allocations: 15.91 kB / 0.8412 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 6.604e-05/0.003592, allocations: 23.92 kB / 0.8412 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 4.069e-05/0.003633, allocations: 11.98 kB / 0.8412 GB, free: 11.58 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.139e-05/0.003644, allocations: 4 kB / 0.8412 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003833/0.004028, allocations: 383.4 kB / 0.8416 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.695e-05/0.004045, allocations: 7.984 kB / 0.8416 GB, free: 11.19 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.367e-05/0.004068, allocations: 15.94 kB / 0.8416 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002946/0.004363, allocations: 307 kB / 0.8419 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.004365, allocations: 0 / 0.8419 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.31e-07/0.004366, allocations: 0 / 0.8419 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.056e-06/0.004369, allocations: 0 / 0.8419 GB, free: 10.88 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003248/0.004694, allocations: 319.9 kB / 0.8422 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.08e-05/0.004725, allocations: 8.625 kB / 0.8422 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001498/0.004874, allocations: 24.91 kB / 0.8422 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.643e-05/0.004951, allocations: 113.7 kB / 0.8423 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.004962, allocations: 4.375 kB / 0.8423 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.899e-05/0.004981, allocations: 4.375 kB / 0.8423 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001039/0.005085, allocations: 84.64 kB / 0.8424 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-06/0.005091, allocations: 192 / 0.8424 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.204e-06/0.005098, allocations: 384 / 0.8424 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.005103, allocations: 384 / 0.8424 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.651e-05/0.005129, allocations: 23.8 kB / 0.8424 GB, free: 10.24 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.444e-05/0.005214, allocations: 68.94 kB / 0.8425 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001204/0.005334, allocations: 42.59 kB / 0.8425 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.812e-05/0.005352, allocations: 16.86 kB / 0.8426 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 9.187e-06/0.005361, allocations: 0 / 0.8426 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/0.005382, allocations: 38.64 kB / 0.8426 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 7.32e-07/0.005383, allocations: 0 / 0.8426 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6): time 0.0008799/0.006263, allocations: 349.3 kB / 0.8429 GB, free: 9.664 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.567e-05/0.006288, allocations: 55.41 kB / 0.843 GB, free: 9.598 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.277e-05/0.006351, allocations: 134.5 kB / 0.8431 GB, free: 9.453 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.258e-05/0.006364, allocations: 25.7 kB / 0.8431 GB, free: 9.422 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.267e-05/0.006386, allocations: 84.12 kB / 0.8432 GB, free: 9.336 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.164e-05/0.006408, allocations: 19.86 kB / 0.8432 GB, free: 9.316 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.919e-05/0.006447, allocations: 33.67 kB / 0.8433 GB, free: 9.277 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.073e-05/0.006528, allocations: 322.8 kB / 0.8436 GB, free: 8.953 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.686e-05/0.006555, allocations: 19.98 kB / 0.8436 GB, free: 8.934 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.358e-05/0.006578, allocations: 21.83 kB / 0.8436 GB, free: 8.914 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.914e-05/0.006638, allocations: 64.69 kB / 0.8437 GB, free: 8.848 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.006638, allocations: 0 / 0.8437 GB, free: 8.848 MB / 0.8073 GB Notification: Performance of matching and sorting (n=16) (initialization): time 8.31e-05/0.006721, allocations: 80.36 kB / 0.8438 GB, free: 8.766 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/0.006745, allocations: 8 kB / 0.8438 GB, free: 8.758 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.006756, allocations: 8.047 kB / 0.8438 GB, free: 8.75 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.006767, allocations: 0 / 0.8438 GB, free: 8.75 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.806e-05/0.006825, allocations: 15.98 kB / 0.8438 GB, free: 8.734 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.264e-06/0.006827, allocations: 0 / 0.8438 GB, free: 8.734 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.078e-05/0.006858, allocations: 11.94 kB / 0.8438 GB, free: 8.723 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.612e-06/0.006864, allocations: 4.156 kB / 0.8438 GB, free: 8.719 MB / 0.8073 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 5.146e-05/0.006916, allocations: 113.8 kB / 0.8439 GB, free: 8.598 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.047e-05/0.006926, allocations: 7.984 kB / 0.8439 GB, free: 8.59 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.178e-05/0.006948, allocations: 8.438 kB / 0.8439 GB, free: 8.586 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.006949, allocations: 0 / 0.8439 GB, free: 8.586 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-06/0.006951, allocations: 0 / 0.8439 GB, free: 8.586 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.006953, allocations: 0 / 0.8439 GB, free: 8.586 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002352/0.007189, allocations: 239.5 kB / 0.8442 GB, free: 8.324 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.00719, allocations: 0 / 0.8442 GB, free: 8.324 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.982e-05/0.007239, allocations: 23.95 kB / 0.8442 GB, free: 8.301 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.552e-06/0.007241, allocations: 0 / 0.8442 GB, free: 8.301 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.007248, allocations: 8 kB / 0.8442 GB, free: 8.293 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.007249, allocations: 0 / 0.8442 GB, free: 8.293 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.305e-05/0.007282, allocations: 3.984 kB / 0.8442 GB, free: 8.289 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001364/0.007418, allocations: 184.2 kB / 0.8444 GB, free: 8.09 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.936e-05/0.007438, allocations: 7.953 kB / 0.8444 GB, free: 8.082 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.178e-05/0.007449, allocations: 4 kB / 0.8444 GB, free: 8.078 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.971e-05/0.007499, allocations: 7.984 kB / 0.8444 GB, free: 8.07 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.218e-05/0.007511, allocations: 3.969 kB / 0.8444 GB, free: 8.066 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.654e-06/0.007519, allocations: 11.98 kB / 0.8444 GB, free: 8.055 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.32e-05/0.007532, allocations: 12.86 kB / 0.8444 GB, free: 8.039 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.007532, allocations: 0 / 0.8444 GB, free: 8.039 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001379/0.00767, allocations: 35.92 kB / 0.8444 GB, free: 8.004 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (dp_comp) * 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 (6): * Single equations (assignments): 6 * 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.0001066/0.007777, allocations: 92.41 kB / 0.8445 GB, free: 7.902 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001024/0.007879, allocations: 82.59 kB / 0.8446 GB, free: 7.812 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.007882, allocations: 4 kB / 0.8446 GB, free: 7.809 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.518e-05/0.007907, allocations: 24.84 kB / 0.8446 GB, free: 7.781 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001246/0.008031, allocations: 20.05 kB / 0.8447 GB, free: 7.762 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004677/0.008499, allocations: 225.5 kB / 0.8449 GB, free: 7.508 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.803e-05/0.008537, allocations: 67.34 kB / 0.8449 GB, free: 7.422 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.212e-05/0.008569, allocations: 8 kB / 0.8449 GB, free: 7.414 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001321/0.008701, allocations: 59.36 kB / 0.845 GB, free: 7.355 MB / 0.8073 GB Notification: Performance of SimCode: time 5.01e-07/0.008702, allocations: 0 / 0.845 GB, free: 7.355 MB / 0.8073 GB Notification: Performance of Templates: time 0.00314/0.01184, allocations: 1.962 MB / 0.8469 GB, free: 5.438 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_m_flow_DerivativeCheck.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.289085246156901]