Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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.0009926/0.0009926, allocations: 93.06 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.001233/0.001233, allocations: 165 kB / 23.02 MB, free: 1.547 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.956/0.956, allocations: 177.1 MB / 203.4 MB, free: 5.613 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.097/2.097, allocations: 429.5 MB / 0.6733 GB, free: 4.047 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_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 0.8782 GB, free: 6.285 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.07e-05/2.198e-05, allocations: 3.594 kB / 0.8782 GB, free: 6.281 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001592/0.001614, allocations: 1.35 MB / 0.8795 GB, free: 4.941 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0007522/0.002367, allocations: 0.5826 MB / 0.8801 GB, free: 4.363 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.349e-05/0.00239, allocations: 3.219 kB / 0.8801 GB, free: 4.363 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.31e-05/0.002413, allocations: 3.938 kB / 0.8801 GB, free: 4.359 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.422e-05/0.002457, allocations: 3.984 kB / 0.8801 GB, free: 4.355 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004255/0.002883, allocations: 151.2 kB / 0.8802 GB, free: 4.207 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 5.488e-05/0.002938, allocations: 15.92 kB / 0.8802 GB, free: 4.191 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.914e-05/0.002977, allocations: 3.984 kB / 0.8803 GB, free: 4.188 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.056e-05/0.003028, allocations: 12.59 kB / 0.8803 GB, free: 4.176 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.412e-05/0.003072, allocations: 13.58 kB / 0.8803 GB, free: 4.164 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.329e-05/0.003085, allocations: 0 / 0.8803 GB, free: 4.164 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002806/0.003366, allocations: 267.4 kB / 0.8805 GB, free: 3.902 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.609e-05/0.003382, allocations: 3.984 kB / 0.8805 GB, free: 3.898 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.732e-05/0.003399, allocations: 4 kB / 0.8805 GB, free: 3.895 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001957/0.003595, allocations: 156 kB / 0.8807 GB, free: 3.742 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.003598, allocations: 5.344 kB / 0.8807 GB, free: 3.738 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.092e-06/0.003599, allocations: 3.938 kB / 0.8807 GB, free: 3.734 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.003603, allocations: 0 / 0.8807 GB, free: 3.734 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.000352/0.003955, allocations: 393.8 kB / 0.8811 GB, free: 3.312 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.003992, allocations: 8.031 kB / 0.8811 GB, free: 3.305 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.762e-05/0.004029, allocations: 4.938 kB / 0.8811 GB, free: 3.301 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.52e-05/0.004105, allocations: 108.6 kB / 0.8812 GB, free: 3.168 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.004116, allocations: 8.375 kB / 0.8812 GB, free: 3.16 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.354e-05/0.00414, allocations: 8.328 kB / 0.8812 GB, free: 3.152 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.261e-05/0.004232, allocations: 63.95 kB / 0.8813 GB, free: 3.078 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.001e-06/0.004238, allocations: 192 / 0.8813 GB, free: 3.078 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.657e-06/0.004247, allocations: 384 / 0.8813 GB, free: 3.078 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.625e-06/0.004254, allocations: 384 / 0.8813 GB, free: 3.078 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.755e-05/0.004282, allocations: 15.86 kB / 0.8813 GB, free: 3.062 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000124/0.004406, allocations: 128.6 kB / 0.8814 GB, free: 2.902 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000165/0.004571, allocations: 47.09 kB / 0.8814 GB, free: 2.844 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.892e-05/0.0046, allocations: 23.77 kB / 0.8815 GB, free: 2.816 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.894e-05/0.004619, allocations: 4 kB / 0.8815 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.225e-05/0.004641, allocations: 37.39 kB / 0.8815 GB, free: 2.766 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 6.32e-07/0.004642, allocations: 3.938 kB / 0.8815 GB, free: 2.762 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0004763/0.005118, allocations: 229.6 kB / 0.8817 GB, free: 2.5 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.556e-05/0.005144, allocations: 55.34 kB / 0.8818 GB, free: 2.434 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.086e-05/0.005205, allocations: 161.9 kB / 0.8819 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.166e-05/0.005216, allocations: 25.7 kB / 0.882 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.218e-05/0.005248, allocations: 130.9 kB / 0.8821 GB, free: 2.094 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.537e-05/0.005274, allocations: 19.8 kB / 0.8821 GB, free: 2.074 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.85e-05/0.005302, allocations: 31.36 kB / 0.8821 GB, free: 2.035 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.005403, allocations: 0.4884 MB / 0.8826 GB, free: 1.535 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.536e-05/0.005418, allocations: 4 kB / 0.8826 GB, free: 1.531 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.381e-05/0.005432, allocations: 11.98 kB / 0.8826 GB, free: 1.52 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.033e-05/0.005472, allocations: 27.69 kB / 0.8827 GB, free: 1.488 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.005474, allocations: 0 / 0.8827 GB, free: 1.488 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 6.509e-05/0.005539, allocations: 66.09 kB / 0.8827 GB, free: 1.418 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.005551, allocations: 4 kB / 0.8827 GB, free: 1.414 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.005555, allocations: 0 / 0.8827 GB, free: 1.414 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.005569, allocations: 0 / 0.8827 GB, free: 1.414 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.277e-05/0.005612, allocations: 12 kB / 0.8827 GB, free: 1.402 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.005617, allocations: 3.938 kB / 0.8827 GB, free: 1.398 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.336e-05/0.005631, allocations: 8 kB / 0.8827 GB, free: 1.391 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.005636, allocations: 7.984 kB / 0.8828 GB, free: 1.383 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.38e-05/0.00569, allocations: 152.6 kB / 0.8829 GB, free: 1.223 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.081e-05/0.005701, allocations: 8 kB / 0.8829 GB, free: 1.215 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.492e-05/0.005796, allocations: 69.73 kB / 0.883 GB, free: 1.145 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.005797, allocations: 0 / 0.883 GB, free: 1.145 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.005801, allocations: 3.938 kB / 0.883 GB, free: 1.141 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.005805, allocations: 3.984 kB / 0.883 GB, free: 1.137 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000215/0.00602, allocations: 313.3 kB / 0.8833 GB, free: 0.7852 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.006022, allocations: 4.031 kB / 0.8833 GB, free: 0.7812 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.855e-05/0.006061, allocations: 16 kB / 0.8833 GB, free: 0.7656 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.006062, allocations: 0 / 0.8833 GB, free: 0.7656 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.006073, allocations: 11.92 kB / 0.8833 GB, free: 0.7539 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.006075, allocations: 4 kB / 0.8833 GB, free: 0.75 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.006076, allocations: 0 / 0.8833 GB, free: 0.75 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003782/0.006454, allocations: 223.5 kB / 0.8835 GB, free: 0.5078 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.527e-05/0.006469, allocations: 11.98 kB / 0.8835 GB, free: 0.4961 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.145e-05/0.006481, allocations: 7.875 kB / 0.8835 GB, free: 500 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.597e-05/0.006517, allocations: 0 / 0.8835 GB, free: 500 kB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.499e-05/0.006532, allocations: 4 kB / 0.8835 GB, free: 496 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.006537, allocations: 8.016 kB / 0.8836 GB, free: 488 kB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.976e-05/0.006567, allocations: 127.2 kB / 0.8837 GB, free: 360 kB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.006567, allocations: 0 / 0.8837 GB, free: 360 kB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001528/0.00672, allocations: 19.94 kB / 0.8837 GB, free: 340 kB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (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.0001255/0.006845, allocations: 119.1 kB / 0.8838 GB, free: 208 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.775e-05/0.006923, allocations: 35.61 kB / 0.8838 GB, free: 168 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.006926, allocations: 4 kB / 0.8838 GB, free: 164 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.974e-05/0.006946, allocations: 23.67 kB / 0.8839 GB, free: 136 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000149/0.007094, allocations: 8.062 kB / 0.8839 GB, free: 128 kB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004631/0.007558, allocations: 188.7 kB / 0.8841 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.986e-05/0.007587, allocations: 59.34 kB / 0.8841 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.115e-05/0.007609, allocations: 12.62 kB / 0.8841 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.975e-05/0.007628, allocations: 12.5 kB / 0.8841 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of SimCode: time 4e-07/0.007629, allocations: 0 / 0.8841 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of Templates: time 0.002146/0.009775, allocations: 0.6475 MB / 0.8848 GB, free: 15.21 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_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.351407861337066]