Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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.001009/0.001009, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001445/0.001445, allocations: 177 kB / 23.49 MB, free: 1.059 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.9829/0.9829, allocations: 177.1 MB / 203.8 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.174/2.174, allocations: 429.5 MB / 0.6736 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_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp|der.dp.|der.dp_comp.",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp|der.dp.|der.dp_comp.",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.8782 GB, free: 6.645 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.683e-05/2.857e-05, allocations: 7.406 kB / 0.8782 GB, free: 6.637 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002919/0.002947, allocations: 1.549 MB / 0.8797 GB, free: 5.098 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001165/0.004112, allocations: 0.5972 MB / 0.8803 GB, free: 4.504 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.125e-05/0.004154, allocations: 0 / 0.8803 GB, free: 4.504 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.634e-05/0.00419, allocations: 3.938 kB / 0.8803 GB, free: 4.5 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.339e-05/0.004253, allocations: 13.09 kB / 0.8803 GB, free: 4.488 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006474/0.004901, allocations: 162.5 kB / 0.8805 GB, free: 4.332 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001107/0.005011, allocations: 51.83 kB / 0.8805 GB, free: 4.281 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 5.656e-05/0.005068, allocations: 4 kB / 0.8805 GB, free: 4.277 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 9.964e-05/0.005168, allocations: 35.89 kB / 0.8806 GB, free: 4.242 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.082e-05/0.005218, allocations: 19.97 kB / 0.8806 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.262e-05/0.005241, allocations: 4 kB / 0.8806 GB, free: 4.219 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004394/0.00568, allocations: 271.4 kB / 0.8808 GB, free: 3.953 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.115e-05/0.005712, allocations: 12.58 kB / 0.8809 GB, free: 3.941 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.569e-05/0.005747, allocations: 19.92 kB / 0.8809 GB, free: 3.922 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000344/0.006091, allocations: 188.8 kB / 0.8811 GB, free: 3.738 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.006095, allocations: 4 kB / 0.8811 GB, free: 3.734 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.052e-06/0.006096, allocations: 0 / 0.8811 GB, free: 3.734 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.006102, allocations: 0 / 0.8811 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006396/0.006742, allocations: 421.6 kB / 0.8815 GB, free: 3.285 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.426e-05/0.006796, allocations: 8.031 kB / 0.8815 GB, free: 3.277 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.642e-05/0.006863, allocations: 16.89 kB / 0.8815 GB, free: 3.262 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001208/0.006983, allocations: 120.5 kB / 0.8816 GB, free: 3.117 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.329e-05/0.007017, allocations: 4.375 kB / 0.8816 GB, free: 3.113 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.459e-05/0.007051, allocations: 16.3 kB / 0.8816 GB, free: 3.098 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002628/0.007314, allocations: 132.6 kB / 0.8817 GB, free: 2.949 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.007329, allocations: 192 / 0.8817 GB, free: 2.949 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.239e-05/0.007352, allocations: 4.375 kB / 0.8818 GB, free: 2.945 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.205e-05/0.007364, allocations: 4.375 kB / 0.8818 GB, free: 2.941 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.119e-05/0.007435, allocations: 23.92 kB / 0.8818 GB, free: 2.918 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005471/0.007982, allocations: 311.6 kB / 0.8821 GB, free: 2.578 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001766/0.008158, allocations: 75.03 kB / 0.8821 GB, free: 2.492 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.588e-05/0.008204, allocations: 27.61 kB / 0.8822 GB, free: 2.461 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.017e-05/0.008225, allocations: 0 / 0.8822 GB, free: 2.461 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/0.008255, allocations: 37.39 kB / 0.8822 GB, free: 2.414 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.633e-06/0.008257, allocations: 0 / 0.8822 GB, free: 2.414 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11): time 0.001134/0.009391, allocations: 456.6 kB / 0.8826 GB, free: 1.906 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.746e-05/0.009429, allocations: 59.41 kB / 0.8827 GB, free: 1.836 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.242e-05/0.009521, allocations: 161.9 kB / 0.8829 GB, free: 1.66 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.009538, allocations: 29.7 kB / 0.8829 GB, free: 1.625 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.068e-05/0.009599, allocations: 134.8 kB / 0.883 GB, free: 1.488 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.981e-05/0.009639, allocations: 43.64 kB / 0.8831 GB, free: 1.445 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.933e-05/0.009688, allocations: 31.38 kB / 0.8831 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.00984, allocations: 0.4922 MB / 0.8836 GB, free: 0.9023 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.547e-05/0.009886, allocations: 19.98 kB / 0.8836 GB, free: 0.8828 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.85e-05/0.009924, allocations: 16.12 kB / 0.8836 GB, free: 0.8672 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.474e-05/0.01002, allocations: 54.8 kB / 0.8837 GB, free: 0.8125 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.01002, allocations: 0 / 0.8837 GB, free: 0.8125 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001621/0.01018, allocations: 97.61 kB / 0.8837 GB, free: 0.7109 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.0102, allocations: 6.5 kB / 0.8838 GB, free: 0.707 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.01021, allocations: 0 / 0.8838 GB, free: 0.707 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.01022, allocations: 0 / 0.8838 GB, free: 0.707 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/0.01034, allocations: 23.98 kB / 0.8838 GB, free: 0.6836 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.01035, allocations: 0 / 0.8838 GB, free: 0.6836 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.762e-05/0.01038, allocations: 8 kB / 0.8838 GB, free: 0.6758 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.01038, allocations: 4 kB / 0.8838 GB, free: 0.6719 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.534e-05/0.01046, allocations: 168.4 kB / 0.8839 GB, free: 0.4961 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.712e-05/0.01049, allocations: 15.95 kB / 0.884 GB, free: 492 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001659/0.01065, allocations: 105.7 kB / 0.8841 GB, free: 380 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.01066, allocations: 4 kB / 0.8841 GB, free: 376 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.01066, allocations: 4 kB / 0.8841 GB, free: 372 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.01066, allocations: 0 / 0.8841 GB, free: 372 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000294/0.01096, allocations: 353.3 kB / 0.8844 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.01096, allocations: 0 / 0.8844 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.157e-05/0.01104, allocations: 19.98 kB / 0.8844 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.01104, allocations: 4 kB / 0.8844 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.01105, allocations: 0 / 0.8844 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.01105, allocations: 0 / 0.8844 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.01105, allocations: 4 kB / 0.8844 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002084/0.01126, allocations: 271.7 kB / 0.8847 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 8.786e-06/0.01127, allocations: 7.953 kB / 0.8847 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.276e-05/0.01128, allocations: 0 / 0.8847 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.975e-05/0.01133, allocations: 7.984 kB / 0.8847 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.099e-05/0.01135, allocations: 11.98 kB / 0.8847 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.01136, allocations: 0 / 0.8847 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.482e-05/0.01139, allocations: 123.4 kB / 0.8848 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01139, allocations: 0 / 0.8848 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001908/0.01159, allocations: 47.8 kB / 0.8849 GB, free: 15.47 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_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 (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.0001885/0.01177, allocations: 141.6 kB / 0.885 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001267/0.0119, allocations: 67.59 kB / 0.8851 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.0119, allocations: 0 / 0.8851 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.947e-05/0.01194, allocations: 40.05 kB / 0.8851 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002573/0.0122, allocations: 17.86 kB / 0.8851 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006223/0.01282, allocations: 270.7 kB / 0.8854 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.192e-05/0.01286, allocations: 63.34 kB / 0.8855 GB, free: 14.81 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.047e-05/0.0129, allocations: 12.72 kB / 0.8855 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.779e-05/0.01293, allocations: 12.5 kB / 0.8855 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of SimCode: time 1.092e-06/0.01293, allocations: 0 / 0.8855 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of Templates: time 0.003111/0.01604, allocations: 1.157 MB / 0.8866 GB, free: 13.69 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_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.501319141127169]