Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.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.0009166/0.0009166, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001086/0.001086, allocations: 177 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.9765/0.9765, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.369/2.369, 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.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp|m_flow_turbulent|der.m_flow.|der.m_flow_comp.",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp|m_flow_turbulent|der.m_flow.|der.m_flow_comp.",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.764e-05/1.888e-05, allocations: 6.312 kB / 0.8387 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001838/0.001857, allocations: 1.397 MB / 0.84 GB, free: 12.74 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0007507/0.002608, allocations: 0.5876 MB / 0.8406 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.611e-05/0.002634, allocations: 0 / 0.8406 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.385e-05/0.002648, allocations: 0 / 0.8406 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 3.813e-05/0.002686, allocations: 7.875 kB / 0.8406 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004364/0.003122, allocations: 151.2 kB / 0.8407 GB, free: 12 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 5.491e-05/0.003177, allocations: 27.86 kB / 0.8408 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.493e-05/0.003212, allocations: 7.984 kB / 0.8408 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 4.077e-05/0.003253, allocations: 19.97 kB / 0.8408 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 5.134e-05/0.003304, allocations: 11.92 kB / 0.8408 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.154e-05/0.003316, allocations: 0 / 0.8408 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003765/0.003692, allocations: 271.4 kB / 0.8411 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.636e-05/0.003709, allocations: 11.97 kB / 0.8411 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.577e-05/0.003724, allocations: 8 kB / 0.8411 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001859/0.00391, allocations: 167.5 kB / 0.8412 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.185e-06/0.003913, allocations: 0 / 0.8412 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.32e-07/0.003913, allocations: 0 / 0.8412 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.003917, allocations: 0 / 0.8412 GB, free: 11.48 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002428/0.00416, allocations: 276.5 kB / 0.8415 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.004193, allocations: 8.625 kB / 0.8415 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.364e-05/0.004216, allocations: 4.938 kB / 0.8415 GB, free: 11.17 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.744e-05/0.004284, allocations: 109.8 kB / 0.8416 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.004295, allocations: 384 / 0.8416 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.431e-05/0.00432, allocations: 8.375 kB / 0.8416 GB, free: 11.03 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.54e-05/0.004405, allocations: 101.6 kB / 0.8417 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.004412, allocations: 192 / 0.8417 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.00442, allocations: 12.31 kB / 0.8417 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.004424, allocations: 384 / 0.8417 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.528e-05/0.004449, allocations: 19.86 kB / 0.8418 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.27e-05/0.004532, allocations: 68.94 kB / 0.8418 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.68e-05/0.004599, allocations: 46.62 kB / 0.8419 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.961e-05/0.004618, allocations: 16.86 kB / 0.8419 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.201e-05/0.00463, allocations: 0 / 0.8419 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.222e-05/0.004653, allocations: 42.55 kB / 0.8419 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 8.12e-07/0.004653, allocations: 4 kB / 0.8419 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11): time 0.0007152/0.005369, allocations: 415.8 kB / 0.8423 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.493e-05/0.005393, allocations: 59.39 kB / 0.8424 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.009e-05/0.005444, allocations: 106.6 kB / 0.8425 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.276e-05/0.005456, allocations: 33.7 kB / 0.8425 GB, free: 9.984 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.036e-05/0.005477, allocations: 80.14 kB / 0.8426 GB, free: 9.902 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.447e-05/0.005511, allocations: 47.56 kB / 0.8426 GB, free: 9.855 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.077e-05/0.005542, allocations: 21.72 kB / 0.8427 GB, free: 9.828 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.545e-05/0.005617, allocations: 322.8 kB / 0.843 GB, free: 9.504 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.347e-05/0.005631, allocations: 8 kB / 0.843 GB, free: 9.496 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.54e-05/0.005646, allocations: 12 kB / 0.843 GB, free: 9.484 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.301e-05/0.005689, allocations: 36.77 kB / 0.843 GB, free: 9.445 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.00569, allocations: 0 / 0.843 GB, free: 9.445 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13) (initialization): time 7.022e-05/0.00576, allocations: 73.05 kB / 0.8431 GB, free: 9.371 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/0.005771, allocations: 10.31 kB / 0.8431 GB, free: 9.363 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.005777, allocations: 3.984 kB / 0.8431 GB, free: 9.359 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.348e-06/0.005786, allocations: 4 kB / 0.8431 GB, free: 9.355 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.659e-05/0.005853, allocations: 19.98 kB / 0.8431 GB, free: 9.336 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.855e-06/0.005856, allocations: 3.938 kB / 0.8431 GB, free: 9.332 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.375e-05/0.005869, allocations: 8 kB / 0.8431 GB, free: 9.324 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.498e-06/0.005874, allocations: 0 / 0.8431 GB, free: 9.324 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 (13): * Single equations (assignments): 13 * 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 prepare postOptimizeDAE: time 5.455e-05/0.005929, allocations: 121.8 kB / 0.8433 GB, free: 9.195 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.099e-05/0.00594, allocations: 11.98 kB / 0.8433 GB, free: 9.184 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.75e-05/0.006037, allocations: 73.73 kB / 0.8433 GB, free: 9.109 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.006039, allocations: 7.984 kB / 0.8433 GB, free: 9.102 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.454e-06/0.006041, allocations: 4 kB / 0.8434 GB, free: 9.098 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.006047, allocations: 7.922 kB / 0.8434 GB, free: 9.09 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002108/0.006258, allocations: 218.8 kB / 0.8436 GB, free: 8.852 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.006259, allocations: 0 / 0.8436 GB, free: 8.852 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.819e-05/0.006327, allocations: 19.98 kB / 0.8436 GB, free: 8.832 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.006329, allocations: 0 / 0.8436 GB, free: 8.832 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.5e-06/0.006334, allocations: 0 / 0.8436 GB, free: 8.832 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.006336, allocations: 4 kB / 0.8436 GB, free: 8.828 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.006338, allocations: 3.938 kB / 0.8436 GB, free: 8.824 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001287/0.006467, allocations: 195.4 kB / 0.8438 GB, free: 8.617 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.262e-06/0.006473, allocations: 3.953 kB / 0.8438 GB, free: 8.613 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.067e-05/0.006484, allocations: 4 kB / 0.8438 GB, free: 8.609 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.056e-05/0.006525, allocations: 0 / 0.8438 GB, free: 8.609 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.817e-05/0.006543, allocations: 15.92 kB / 0.8438 GB, free: 8.594 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.006548, allocations: 0 / 0.8438 GB, free: 8.594 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 9.878e-06/0.006558, allocations: 8.859 kB / 0.8438 GB, free: 8.582 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5.1e-08/0.006558, allocations: 0 / 0.8438 GB, free: 8.582 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001684/0.006727, allocations: 35.88 kB / 0.8438 GB, free: 8.547 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_m_flow_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 (11): * Single equations (assignments): 11 * 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.0001453/0.006872, allocations: 112.4 kB / 0.844 GB, free: 8.43 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.694e-05/0.006959, allocations: 56.7 kB / 0.844 GB, free: 8.371 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/0.006962, allocations: 0 / 0.844 GB, free: 8.371 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.674e-05/0.006989, allocations: 33.16 kB / 0.844 GB, free: 8.336 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001103/0.007099, allocations: 8.609 kB / 0.844 GB, free: 8.328 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005028/0.007602, allocations: 220.1 kB / 0.8443 GB, free: 8.086 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.55e-05/0.007638, allocations: 59.34 kB / 0.8443 GB, free: 8.008 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.467e-05/0.007672, allocations: 20.02 kB / 0.8443 GB, free: 7.988 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.106e-05/0.007723, allocations: 63.36 kB / 0.8444 GB, free: 7.926 MB / 0.8073 GB Notification: Performance of SimCode: time 8.22e-07/0.007724, allocations: 0 / 0.8444 GB, free: 7.926 MB / 0.8073 GB Notification: Performance of Templates: time 0.002785/0.01051, allocations: 1.064 MB / 0.8454 GB, free: 6.902 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.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.226156682241708]