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.001426/0.001426, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001693/0.001693, allocations: 177 kB / 23.49 MB, free: 1.055 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.9719/0.9719, allocations: 177.1 MB / 203.8 MB, free: 5.648 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.082/2.082, allocations: 429.5 MB / 0.6736 GB, free: 4.07 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.623e-06/1.623e-06, allocations: 0 / 0.8782 GB, free: 6.613 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.831e-05/2.994e-05, allocations: 5.703 kB / 0.8782 GB, free: 6.609 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001872/0.001902, allocations: 1.349 MB / 0.8795 GB, free: 5.27 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.000819/0.002721, allocations: 0.5857 MB / 0.8801 GB, free: 4.691 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.805e-05/0.002749, allocations: 0 / 0.8801 GB, free: 4.691 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.05e-05/0.00277, allocations: 0 / 0.8801 GB, free: 4.691 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 3.534e-05/0.002805, allocations: 0 / 0.8801 GB, free: 4.691 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004634/0.003268, allocations: 151.2 kB / 0.8802 GB, free: 4.543 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.411e-05/0.003332, allocations: 24.59 kB / 0.8803 GB, free: 4.52 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.363e-05/0.003376, allocations: 0 / 0.8803 GB, free: 4.52 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 6.706e-05/0.003443, allocations: 17.64 kB / 0.8803 GB, free: 4.504 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.251e-05/0.003496, allocations: 7.969 kB / 0.8803 GB, free: 4.496 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.64e-05/0.003512, allocations: 4 kB / 0.8803 GB, free: 4.492 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000293/0.003805, allocations: 267.4 kB / 0.8806 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.557e-05/0.003821, allocations: 0.5 kB / 0.8806 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.248e-05/0.003843, allocations: 11.98 kB / 0.8806 GB, free: 4.219 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002075/0.004051, allocations: 161 kB / 0.8807 GB, free: 4.062 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.004053, allocations: 4 kB / 0.8807 GB, free: 4.059 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.142e-06/0.004054, allocations: 0 / 0.8807 GB, free: 4.059 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.004059, allocations: 0 / 0.8807 GB, free: 4.059 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.0003907/0.00445, allocations: 384.9 kB / 0.8811 GB, free: 3.645 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.004491, allocations: 9.375 kB / 0.8811 GB, free: 3.637 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.617e-05/0.004538, allocations: 4.938 kB / 0.8811 GB, free: 3.633 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.37e-05/0.004631, allocations: 112.5 kB / 0.8812 GB, free: 3.496 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.004645, allocations: 4.375 kB / 0.8812 GB, free: 3.492 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.345e-05/0.004668, allocations: 5.922 kB / 0.8812 GB, free: 3.488 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001083/0.004776, allocations: 71.89 kB / 0.8813 GB, free: 3.406 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.004784, allocations: 192 / 0.8813 GB, free: 3.406 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.004793, allocations: 384 / 0.8813 GB, free: 3.406 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.004802, allocations: 4.375 kB / 0.8813 GB, free: 3.402 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.839e-05/0.00483, allocations: 11.92 kB / 0.8813 GB, free: 3.391 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001332/0.004963, allocations: 124.6 kB / 0.8814 GB, free: 3.234 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001827/0.005146, allocations: 51.09 kB / 0.8815 GB, free: 3.172 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.919e-05/0.005175, allocations: 19.62 kB / 0.8815 GB, free: 3.148 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.778e-05/0.005193, allocations: 0 / 0.8815 GB, free: 3.148 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.005219, allocations: 37.48 kB / 0.8815 GB, free: 3.102 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 7.92e-07/0.00522, allocations: 0 / 0.8815 GB, free: 3.102 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0005528/0.005773, allocations: 229.7 kB / 0.8817 GB, free: 2.84 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.247e-05/0.005805, allocations: 59.34 kB / 0.8818 GB, free: 2.77 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.903e-05/0.005874, allocations: 157.9 kB / 0.882 GB, free: 2.598 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.388e-06/0.005883, allocations: 25.7 kB / 0.882 GB, free: 2.566 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.525e-05/0.005919, allocations: 130.9 kB / 0.8821 GB, free: 2.434 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.982e-05/0.005948, allocations: 27.77 kB / 0.8821 GB, free: 2.406 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.416e-05/0.005983, allocations: 27.38 kB / 0.8822 GB, free: 2.371 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.006093, allocations: 496.1 kB / 0.8826 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.945e-05/0.006112, allocations: 8 kB / 0.8826 GB, free: 1.867 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.504e-05/0.006127, allocations: 8 kB / 0.8826 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.477e-05/0.006172, allocations: 31.61 kB / 0.8827 GB, free: 1.824 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.006173, allocations: 0 / 0.8827 GB, free: 1.824 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.578e-05/0.006248, allocations: 69.8 kB / 0.8827 GB, free: 1.75 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.006263, allocations: 7.984 kB / 0.8827 GB, free: 1.742 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.006269, allocations: 0 / 0.8827 GB, free: 1.742 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.006283, allocations: 4 kB / 0.8827 GB, free: 1.738 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.579e-05/0.006329, allocations: 8 kB / 0.8828 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.006336, allocations: 3.938 kB / 0.8828 GB, free: 1.727 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.09e-05/0.006346, allocations: 0 / 0.8828 GB, free: 1.727 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-06/0.006354, allocations: 8 kB / 0.8828 GB, free: 1.719 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 6.197e-05/0.006416, allocations: 156.5 kB / 0.8829 GB, free: 1.555 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.297e-06/0.006425, allocations: 4 kB / 0.8829 GB, free: 1.551 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001028/0.006528, allocations: 77.73 kB / 0.883 GB, free: 1.473 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.00653, allocations: 0 / 0.883 GB, free: 1.473 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.006535, allocations: 3.938 kB / 0.883 GB, free: 1.469 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.006538, allocations: 0 / 0.883 GB, free: 1.469 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002441/0.006782, allocations: 317.1 kB / 0.8833 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.006784, allocations: 0 / 0.8833 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.652e-05/0.00683, allocations: 12 kB / 0.8833 GB, free: 1.102 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/0.006833, allocations: 0 / 0.8833 GB, free: 1.102 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.006844, allocations: 7.938 kB / 0.8833 GB, free: 1.094 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.006847, allocations: 4 kB / 0.8833 GB, free: 1.09 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.006848, allocations: 0.5469 kB / 0.8833 GB, free: 1.09 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001497/0.006998, allocations: 235.7 kB / 0.8835 GB, free: 0.8359 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.814e-05/0.007016, allocations: 8 kB / 0.8836 GB, free: 0.8281 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.316e-05/0.007029, allocations: 3.938 kB / 0.8836 GB, free: 0.8242 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.033e-05/0.00707, allocations: 3.984 kB / 0.8836 GB, free: 0.8203 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.69e-05/0.007086, allocations: 7.984 kB / 0.8836 GB, free: 0.8125 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.56e-06/0.007092, allocations: 0 / 0.8836 GB, free: 0.8125 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001916/0.007284, allocations: 123.2 kB / 0.8837 GB, free: 0.6914 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.007284, allocations: 0 / 0.8837 GB, free: 0.6914 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001734/0.007457, allocations: 27.92 kB / 0.8837 GB, free: 0.6641 MB / 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.0001575/0.007615, allocations: 127.1 kB / 0.8838 GB, free: 0.5273 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.074e-05/0.007705, allocations: 31.67 kB / 0.8839 GB, free: 0.4922 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.007709, allocations: 4 kB / 0.8839 GB, free: 500 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.987e-05/0.007729, allocations: 23.62 kB / 0.8839 GB, free: 472 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001696/0.007898, allocations: 10.42 kB / 0.8839 GB, free: 464 kB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005331/0.008431, allocations: 174 kB / 0.8841 GB, free: 256 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.218e-05/0.008464, allocations: 55.36 kB / 0.8841 GB, free: 180 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.545e-05/0.008489, allocations: 8.188 kB / 0.8841 GB, free: 172 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.264e-05/0.008512, allocations: 16.48 kB / 0.8841 GB, free: 156 kB / 0.8386 GB Notification: Performance of SimCode: time 8.81e-07/0.008513, allocations: 0 / 0.8841 GB, free: 156 kB / 0.8386 GB Notification: Performance of Templates: time 0.002603/0.01112, allocations: 0.6714 MB / 0.8848 GB, free: 15.53 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.403119330992922]