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.001303/0.001303, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001531/0.001531, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9137/0.9137, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.11/2.11, allocations: 429.5 MB / 0.6743 GB, free: 3.91 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.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 2.695e-06/2.695e-06, allocations: 1.094 kB / 0.8794 GB, free: 6.004 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.679e-05/3.948e-05, allocations: 5.734 kB / 0.8794 GB, free: 6 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.003006/0.003046, allocations: 1.357 MB / 0.8807 GB, free: 4.652 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0009082/0.003954, allocations: 0.5827 MB / 0.8813 GB, free: 4.074 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.072e-05/0.003984, allocations: 1.062 kB / 0.8813 GB, free: 4.074 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.463e-05/0.004009, allocations: 0 / 0.8813 GB, free: 4.074 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.484e-05/0.004054, allocations: 4 kB / 0.8813 GB, free: 4.07 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004938/0.004548, allocations: 152.7 kB / 0.8815 GB, free: 3.922 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.241e-05/0.00461, allocations: 31.86 kB / 0.8815 GB, free: 3.891 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.45e-05/0.004655, allocations: 1.125 kB / 0.8815 GB, free: 3.891 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.54e-05/0.0047, allocations: 19.97 kB / 0.8815 GB, free: 3.871 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.522e-05/0.004775, allocations: 7.984 kB / 0.8815 GB, free: 3.863 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.092e-05/0.004796, allocations: 4.594 kB / 0.8815 GB, free: 3.859 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003437/0.00514, allocations: 272.2 kB / 0.8818 GB, free: 3.594 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.48e-05/0.005165, allocations: 11.98 kB / 0.8818 GB, free: 3.582 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.503e-05/0.00519, allocations: 7.938 kB / 0.8818 GB, free: 3.574 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002687/0.005458, allocations: 170.9 kB / 0.882 GB, free: 3.41 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.005463, allocations: 0 / 0.882 GB, free: 3.41 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.092e-06/0.005464, allocations: 0 / 0.882 GB, free: 3.41 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.76e-06/0.005469, allocations: 0 / 0.882 GB, free: 3.41 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004417/0.005911, allocations: 396.2 kB / 0.8823 GB, free: 2.984 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/0.005962, allocations: 8.031 kB / 0.8824 GB, free: 2.977 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.277e-05/0.006005, allocations: 4.938 kB / 0.8824 GB, free: 2.973 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/0.006117, allocations: 112.6 kB / 0.8825 GB, free: 2.836 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.006132, allocations: 8.375 kB / 0.8825 GB, free: 2.828 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.814e-05/0.00616, allocations: 12.27 kB / 0.8825 GB, free: 2.816 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/0.006296, allocations: 93.66 kB / 0.8826 GB, free: 2.707 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.006308, allocations: 192 / 0.8826 GB, free: 2.707 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.006319, allocations: 8.359 kB / 0.8826 GB, free: 2.699 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.006326, allocations: 4.359 kB / 0.8826 GB, free: 2.695 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.32e-05/0.00636, allocations: 15.92 kB / 0.8826 GB, free: 2.68 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000155/0.006515, allocations: 105.3 kB / 0.8827 GB, free: 2.551 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001093/0.006624, allocations: 59.05 kB / 0.8828 GB, free: 2.48 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.121e-05/0.006655, allocations: 23.67 kB / 0.8828 GB, free: 2.453 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.044e-05/0.006676, allocations: 8 kB / 0.8828 GB, free: 2.445 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.006706, allocations: 33.39 kB / 0.8828 GB, free: 2.402 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/0.006707, allocations: 0 / 0.8828 GB, free: 2.402 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11): time 0.0008552/0.007563, allocations: 440.6 kB / 0.8832 GB, free: 1.91 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.242e-05/0.007595, allocations: 55.34 kB / 0.8833 GB, free: 1.844 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.627e-05/0.007671, allocations: 157.9 kB / 0.8834 GB, free: 1.672 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.272e-05/0.007684, allocations: 25.83 kB / 0.8835 GB, free: 1.641 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.312e-05/0.007727, allocations: 138.9 kB / 0.8836 GB, free: 1.5 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.944e-05/0.007767, allocations: 31.7 kB / 0.8836 GB, free: 1.469 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.112e-05/0.007808, allocations: 35.34 kB / 0.8837 GB, free: 1.426 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.007949, allocations: 0.4884 MB / 0.8841 GB, free: 0.9258 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.299e-05/0.007972, allocations: 15.92 kB / 0.8842 GB, free: 0.9102 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.054e-05/0.007993, allocations: 15.98 kB / 0.8842 GB, free: 0.8945 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.324e-05/0.008046, allocations: 38 kB / 0.8842 GB, free: 0.8555 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.008047, allocations: 0 / 0.8842 GB, free: 0.8555 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001066/0.008154, allocations: 89.62 kB / 0.8843 GB, free: 0.7617 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.00817, allocations: 4 kB / 0.8843 GB, free: 0.7578 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.008175, allocations: 4 kB / 0.8843 GB, free: 0.7539 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.578e-06/0.008185, allocations: 0 / 0.8843 GB, free: 0.7539 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.116e-05/0.008266, allocations: 27.94 kB / 0.8843 GB, free: 0.7266 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.249e-06/0.008271, allocations: 3.938 kB / 0.8843 GB, free: 0.7227 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.592e-05/0.008287, allocations: 3.984 kB / 0.8843 GB, free: 0.7188 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.008295, allocations: 4 kB / 0.8843 GB, free: 0.7148 MB / 0.8386 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 7.5e-05/0.00837, allocations: 156.6 kB / 0.8845 GB, free: 0.5508 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.349e-05/0.008384, allocations: 8 kB / 0.8845 GB, free: 0.543 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001464/0.00853, allocations: 101.7 kB / 0.8846 GB, free: 452 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.008532, allocations: 0 / 0.8846 GB, free: 452 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.008535, allocations: 7.938 kB / 0.8846 GB, free: 444 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.00854, allocations: 3.984 kB / 0.8846 GB, free: 440 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003008/0.008841, allocations: 318 kB / 0.8849 GB, free: 88 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.008843, allocations: 0 / 0.8849 GB, free: 88 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.051e-05/0.008923, allocations: 27.92 kB / 0.8849 GB, free: 60 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.008926, allocations: 0 / 0.8849 GB, free: 60 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.008933, allocations: 0 / 0.8849 GB, free: 60 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.008936, allocations: 3.938 kB / 0.8849 GB, free: 56 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.008937, allocations: 0 / 0.8849 GB, free: 56 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002121/0.009149, allocations: 243.8 kB / 0.8852 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 9.027e-06/0.009158, allocations: 4 kB / 0.8852 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.192e-05/0.00917, allocations: 8.016 kB / 0.8852 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.974e-05/0.00922, allocations: 11.94 kB / 0.8852 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.11e-05/0.009241, allocations: 7.984 kB / 0.8852 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.006e-05/0.009251, allocations: 4 kB / 0.8852 GB, free: 15.76 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.49e-05/0.009296, allocations: 123.2 kB / 0.8853 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.009296, allocations: 0 / 0.8853 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002015/0.009497, allocations: 39.81 kB / 0.8854 GB, free: 15.6 MB / 0.8542 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.0005399/0.01004, allocations: 135.1 kB / 0.8855 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001082/0.01015, allocations: 51.75 kB / 0.8855 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.01015, allocations: 7.938 kB / 0.8855 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.824e-05/0.01018, allocations: 35.59 kB / 0.8856 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001719/0.01035, allocations: 8 kB / 0.8856 GB, free: 15.35 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005712/0.01092, allocations: 242 kB / 0.8858 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.143e-05/0.01096, allocations: 64.05 kB / 0.8859 GB, free: 15 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.537e-05/0.011, allocations: 12 kB / 0.8859 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.643e-05/0.01106, allocations: 82.19 kB / 0.886 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of SimCode: time 1.082e-06/0.01106, allocations: 0 / 0.886 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of Templates: time 0.003092/0.01416, allocations: 1.091 MB / 0.887 GB, free: 13.87 MB / 0.8542 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 -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.696917057968676]