Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_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.001041/0.001041, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.00109/0.00109, allocations: 169 kB / 23.02 MB, free: 1.551 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.9904/0.9904, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.028/2.028, allocations: 429.5 MB / 0.6732 GB, free: 4.008 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_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 3.938 kB / 0.8782 GB, free: 6.297 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.707e-05/1.863e-05, allocations: 4.984 kB / 0.8782 GB, free: 6.293 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001626/0.001645, allocations: 1.354 MB / 0.8795 GB, free: 4.949 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0008199/0.002465, allocations: 0.5818 MB / 0.8801 GB, free: 4.375 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.617e-05/0.002491, allocations: 0 / 0.8801 GB, free: 4.375 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.309e-05/0.002514, allocations: 3.938 kB / 0.8801 GB, free: 4.371 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.028e-05/0.002554, allocations: 9.266 kB / 0.8801 GB, free: 4.363 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005055/0.00306, allocations: 152.5 kB / 0.8802 GB, free: 4.215 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 5.441e-05/0.003114, allocations: 15.94 kB / 0.8803 GB, free: 4.199 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.63e-05/0.00315, allocations: 3.984 kB / 0.8803 GB, free: 4.195 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.541e-05/0.003196, allocations: 12 kB / 0.8803 GB, free: 4.184 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.581e-05/0.003242, allocations: 17.5 kB / 0.8803 GB, free: 4.168 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.471e-05/0.003256, allocations: 0 / 0.8803 GB, free: 4.168 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003142/0.00357, allocations: 259.5 kB / 0.8805 GB, free: 3.914 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.739e-05/0.003588, allocations: 11.92 kB / 0.8805 GB, free: 3.902 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.249e-05/0.00361, allocations: 6.25 kB / 0.8806 GB, free: 3.898 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002229/0.003833, allocations: 159.4 kB / 0.8807 GB, free: 3.742 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.003837, allocations: 4 kB / 0.8807 GB, free: 3.738 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.41e-07/0.003838, allocations: 0 / 0.8807 GB, free: 3.738 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.003842, allocations: 0 / 0.8807 GB, free: 3.738 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003693/0.004211, allocations: 388.3 kB / 0.8811 GB, free: 3.32 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.004251, allocations: 14.3 kB / 0.8811 GB, free: 3.309 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.857e-05/0.00429, allocations: 4.938 kB / 0.8811 GB, free: 3.305 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.089e-05/0.004361, allocations: 108.6 kB / 0.8812 GB, free: 3.172 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.004371, allocations: 384 / 0.8812 GB, free: 3.172 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.239e-05/0.004393, allocations: 4.328 kB / 0.8812 GB, free: 3.168 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.804e-05/0.004481, allocations: 71.94 kB / 0.8813 GB, free: 3.086 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-06/0.004488, allocations: 0.9062 kB / 0.8813 GB, free: 3.086 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.004497, allocations: 384 / 0.8813 GB, free: 3.086 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.014e-06/0.004504, allocations: 4.375 kB / 0.8813 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.899e-05/0.004533, allocations: 15.88 kB / 0.8813 GB, free: 3.066 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001192/0.004652, allocations: 120.6 kB / 0.8814 GB, free: 2.914 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001884/0.00484, allocations: 51.09 kB / 0.8815 GB, free: 2.852 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.71e-05/0.004867, allocations: 15.69 kB / 0.8815 GB, free: 2.832 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/0.004892, allocations: 8.078 kB / 0.8815 GB, free: 2.824 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.334e-05/0.004915, allocations: 33.39 kB / 0.8815 GB, free: 2.781 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 7.42e-07/0.004916, allocations: 0 / 0.8815 GB, free: 2.781 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0004997/0.005415, allocations: 229.6 kB / 0.8817 GB, free: 2.52 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.58e-05/0.005441, allocations: 63.34 kB / 0.8818 GB, free: 2.445 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.313e-05/0.005504, allocations: 157.9 kB / 0.8819 GB, free: 2.273 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.227e-06/0.005514, allocations: 29.7 kB / 0.882 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.362e-05/0.005547, allocations: 126.9 kB / 0.8821 GB, free: 2.109 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.475e-05/0.005572, allocations: 23.8 kB / 0.8821 GB, free: 2.086 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.063e-05/0.005603, allocations: 27.36 kB / 0.8821 GB, free: 2.051 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.00571, allocations: 496.1 kB / 0.8826 GB, free: 1.555 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.8e-05/0.005728, allocations: 12 kB / 0.8826 GB, free: 1.543 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.253e-05/0.00574, allocations: 4 kB / 0.8826 GB, free: 1.539 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.552e-05/0.005786, allocations: 31.81 kB / 0.8827 GB, free: 1.504 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.005787, allocations: 4 kB / 0.8827 GB, free: 1.5 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.081e-05/0.005857, allocations: 73.64 kB / 0.8827 GB, free: 1.422 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.014e-05/0.005868, allocations: 4 kB / 0.8827 GB, free: 1.418 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.339e-06/0.005872, allocations: 4 kB / 0.8827 GB, free: 1.414 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.005884, allocations: 0 / 0.8827 GB, free: 1.414 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.522e-05/0.005919, allocations: 8 kB / 0.8828 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.005925, allocations: 3.938 kB / 0.8828 GB, free: 1.402 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.051e-05/0.005935, allocations: 0 / 0.8828 GB, free: 1.402 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.978e-06/0.005939, allocations: 4 kB / 0.8828 GB, free: 1.398 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 (7): * Single equations (assignments): 7 * 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.42e-05/0.005994, allocations: 160.6 kB / 0.8829 GB, free: 1.23 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.224e-06/0.006001, allocations: 8 kB / 0.8829 GB, free: 1.223 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.709e-05/0.006088, allocations: 70.27 kB / 0.883 GB, free: 1.152 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.00609, allocations: 0 / 0.883 GB, free: 1.152 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.006094, allocations: 7.938 kB / 0.883 GB, free: 1.145 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.006097, allocations: 0 / 0.883 GB, free: 1.145 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002044/0.006301, allocations: 309.1 kB / 0.8833 GB, free: 0.7969 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.006304, allocations: 7.984 kB / 0.8833 GB, free: 0.7891 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.621e-05/0.00634, allocations: 8 kB / 0.8833 GB, free: 0.7812 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.006342, allocations: 0 / 0.8833 GB, free: 0.7812 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-06/0.006349, allocations: 7.938 kB / 0.8833 GB, free: 0.7734 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.00635, allocations: 0 / 0.8833 GB, free: 0.7734 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.006351, allocations: 4.031 kB / 0.8833 GB, free: 0.7695 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001321/0.006483, allocations: 235.5 kB / 0.8835 GB, free: 0.5156 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.692e-05/0.0065, allocations: 7.984 kB / 0.8835 GB, free: 0.5078 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.145e-05/0.006512, allocations: 7.938 kB / 0.8836 GB, free: 0.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.861e-05/0.00655, allocations: 8.125 kB / 0.8836 GB, free: 0.4922 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.182e-05/0.006562, allocations: 0 / 0.8836 GB, free: 0.4922 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.006568, allocations: 8 kB / 0.8836 GB, free: 496 kB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.619e-05/0.006605, allocations: 123.2 kB / 0.8837 GB, free: 372 kB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.006605, allocations: 0 / 0.8837 GB, free: 372 kB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001829/0.006787, allocations: 23.94 kB / 0.8837 GB, free: 348 kB / 0.8386 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.000135/0.006922, allocations: 123.1 kB / 0.8838 GB, free: 212 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.626e-05/0.007009, allocations: 39.61 kB / 0.8839 GB, free: 168 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.00701, allocations: 0 / 0.8839 GB, free: 168 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.985e-05/0.00703, allocations: 23.67 kB / 0.8839 GB, free: 140 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001492/0.007179, allocations: 9.562 kB / 0.8839 GB, free: 132 kB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004674/0.007647, allocations: 178 kB / 0.8841 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.713e-05/0.007684, allocations: 55.36 kB / 0.8841 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.119e-05/0.007705, allocations: 8.234 kB / 0.8841 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.904e-05/0.007724, allocations: 12.5 kB / 0.8841 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of SimCode: time 6.61e-07/0.007725, allocations: 0 / 0.8841 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of Templates: time 0.002057/0.009782, allocations: 0.6752 MB / 0.8848 GB, free: 15.2 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_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.5026077618822455]