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.001195/0.001195, allocations: 80.88 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.001181/0.001181, allocations: 181 kB / 23.36 MB, free: 1.133 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.039/1.039, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.428/2.428, allocations: 438.8 MB / 0.6827 GB, free: 13.6 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.703e-06/1.703e-06, allocations: 0 / 0.8387 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.503e-05/3.673e-05, allocations: 6.25 kB / 0.8387 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck): time 0.003264/0.003301, allocations: 1.454 MB / 0.8401 GB, free: 12.65 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001287/0.004587, allocations: 0.9218 MB / 0.841 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.574e-05/0.004653, allocations: 0 / 0.841 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.598e-05/0.004679, allocations: 0 / 0.841 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 7.739e-05/0.004757, allocations: 15.86 kB / 0.841 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008289/0.005585, allocations: 202.9 kB / 0.8412 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001027/0.005688, allocations: 47.78 kB / 0.8412 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 4.585e-05/0.005734, allocations: 3.984 kB / 0.8412 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 8.915e-05/0.005823, allocations: 23.97 kB / 0.8413 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 6.822e-05/0.005891, allocations: 23.86 kB / 0.8413 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.809e-05/0.005909, allocations: 4 kB / 0.8413 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006109/0.00652, allocations: 391.4 kB / 0.8417 GB, free: 11.03 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.598e-05/0.006546, allocations: 11.98 kB / 0.8417 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 3.182e-05/0.006578, allocations: 15.92 kB / 0.8417 GB, free: 11 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0007551/0.007333, allocations: 303 kB / 0.842 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.007337, allocations: 0 / 0.842 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.214e-06/0.007339, allocations: 0 / 0.842 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 6.683e-06/0.007346, allocations: 0 / 0.842 GB, free: 10.7 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.0004429/0.007789, allocations: 323.9 kB / 0.8423 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.007835, allocations: 8.625 kB / 0.8423 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002324/0.008068, allocations: 20.92 kB / 0.8423 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.008183, allocations: 117.7 kB / 0.8424 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.008199, allocations: 4.375 kB / 0.8424 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.513e-05/0.008225, allocations: 8.328 kB / 0.8424 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001629/0.008387, allocations: 84.64 kB / 0.8425 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.008397, allocations: 192 / 0.8425 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.008408, allocations: 384 / 0.8425 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/0.008414, allocations: 4.312 kB / 0.8425 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.267e-05/0.008447, allocations: 11.94 kB / 0.8425 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001361/0.008583, allocations: 72.97 kB / 0.8426 GB, free: 9.98 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001725/0.008755, allocations: 34.61 kB / 0.8426 GB, free: 9.938 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.636e-05/0.008782, allocations: 20.84 kB / 0.8427 GB, free: 9.914 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.841e-05/0.0088, allocations: 4 kB / 0.8427 GB, free: 9.91 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/0.00883, allocations: 30.56 kB / 0.8427 GB, free: 9.871 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 1.453e-06/0.008831, allocations: 3.938 kB / 0.8427 GB, free: 9.867 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6): time 0.001057/0.009889, allocations: 353 kB / 0.843 GB, free: 9.488 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.93e-05/0.009918, allocations: 55.41 kB / 0.8431 GB, free: 9.422 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.616e-05/0.009994, allocations: 137.6 kB / 0.8432 GB, free: 9.277 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.226e-05/0.01001, allocations: 25.7 kB / 0.8432 GB, free: 9.246 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.791e-05/0.01003, allocations: 92.11 kB / 0.8433 GB, free: 9.152 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.64e-05/0.01006, allocations: 15.86 kB / 0.8433 GB, free: 9.137 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.295e-05/0.0101, allocations: 33.67 kB / 0.8434 GB, free: 9.098 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.465e-05/0.01019, allocations: 322.8 kB / 0.8437 GB, free: 8.773 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.035e-05/0.01022, allocations: 16 kB / 0.8437 GB, free: 8.758 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.241e-05/0.01025, allocations: 35.91 kB / 0.8437 GB, free: 8.723 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.415e-05/0.01033, allocations: 51.17 kB / 0.8438 GB, free: 8.672 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.01033, allocations: 0 / 0.8438 GB, free: 8.672 MB / 0.8073 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001042/0.01043, allocations: 85.67 kB / 0.8439 GB, free: 8.582 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.01044, allocations: 8 kB / 0.8439 GB, free: 8.574 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/0.01046, allocations: 160 / 0.8439 GB, free: 8.574 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.01047, allocations: 0 / 0.8439 GB, free: 8.574 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.573e-05/0.01056, allocations: 19.97 kB / 0.8439 GB, free: 8.555 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.01056, allocations: 7.922 kB / 0.8439 GB, free: 8.547 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.633e-05/0.0106, allocations: 7.938 kB / 0.8439 GB, free: 8.539 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.265e-06/0.01061, allocations: 4 kB / 0.8439 GB, free: 8.535 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 7.905e-05/0.01069, allocations: 113.8 kB / 0.844 GB, free: 8.414 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.409e-05/0.0107, allocations: 7.984 kB / 0.844 GB, free: 8.406 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.486e-05/0.01074, allocations: 8.438 kB / 0.844 GB, free: 8.402 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.01074, allocations: 0 / 0.844 GB, free: 8.402 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.01074, allocations: 0 / 0.844 GB, free: 8.402 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.01074, allocations: 0 / 0.844 GB, free: 8.402 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003239/0.01107, allocations: 243.5 kB / 0.8443 GB, free: 8.137 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.01107, allocations: 0 / 0.8443 GB, free: 8.137 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.907e-05/0.01114, allocations: 20.02 kB / 0.8443 GB, free: 8.117 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.01114, allocations: 0 / 0.8443 GB, free: 8.117 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.01115, allocations: 0 / 0.8443 GB, free: 8.117 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.01115, allocations: 0 / 0.8443 GB, free: 8.117 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.01115, allocations: 4 kB / 0.8443 GB, free: 8.113 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001833/0.01134, allocations: 180.2 kB / 0.8445 GB, free: 7.918 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.991e-05/0.01137, allocations: 11.89 kB / 0.8445 GB, free: 7.906 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.649e-05/0.01138, allocations: 4.188 kB / 0.8445 GB, free: 7.902 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.331e-05/0.01144, allocations: 7.984 kB / 0.8445 GB, free: 7.895 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.854e-05/0.01146, allocations: 7.969 kB / 0.8445 GB, free: 7.887 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-06/0.01146, allocations: 7.984 kB / 0.8445 GB, free: 7.879 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.129e-05/0.01148, allocations: 28.83 kB / 0.8445 GB, free: 7.848 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.01148, allocations: 0 / 0.8445 GB, free: 7.848 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001543/0.01164, allocations: 23.94 kB / 0.8445 GB, free: 7.824 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.0001527/0.01179, allocations: 92.41 kB / 0.8446 GB, free: 7.723 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001305/0.01192, allocations: 89.42 kB / 0.8447 GB, free: 7.629 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.01193, allocations: 0 / 0.8447 GB, free: 7.629 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.049e-05/0.01196, allocations: 28.84 kB / 0.8447 GB, free: 7.598 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001582/0.01211, allocations: 12.66 kB / 0.8448 GB, free: 7.586 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005694/0.01268, allocations: 237.8 kB / 0.845 GB, free: 7.32 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.995e-05/0.01272, allocations: 59.34 kB / 0.845 GB, free: 7.242 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.095e-05/0.01276, allocations: 8 kB / 0.845 GB, free: 7.234 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.172e-05/0.01285, allocations: 63.36 kB / 0.8451 GB, free: 7.172 MB / 0.8073 GB Notification: Performance of SimCode: time 6.61e-07/0.01285, allocations: 0 / 0.8451 GB, free: 7.172 MB / 0.8073 GB Notification: Performance of Templates: time 0.003408/0.01626, allocations: 1.956 MB / 0.847 GB, free: 5.258 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 -s gbode -gbm=radauIIA3 -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.4309712569229305]