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.001146/0.001146, allocations: 92.22 kB / 19.65 MB, free: 280 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.001332/0.001332, 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.9079/0.9079, 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.03/2.03, allocations: 429.5 MB / 0.6733 GB, free: 3.992 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.994e-06/1.994e-06, allocations: 0 / 0.8782 GB, free: 6.234 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.955e-05/3.154e-05, allocations: 6.625 kB / 0.8782 GB, free: 6.23 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002478/0.00251, allocations: 1.35 MB / 0.8795 GB, free: 4.887 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0009675/0.003477, allocations: 0.5817 MB / 0.8801 GB, free: 4.312 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.849e-05/0.003506, allocations: 3.938 kB / 0.8801 GB, free: 4.309 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.679e-05/0.003533, allocations: 0 / 0.8801 GB, free: 4.309 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.121e-05/0.003574, allocations: 0 / 0.8801 GB, free: 4.309 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005528/0.004127, allocations: 152.7 kB / 0.8802 GB, free: 4.16 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.072e-05/0.004197, allocations: 19.92 kB / 0.8803 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.824e-05/0.004236, allocations: 0 / 0.8803 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.887e-05/0.004294, allocations: 21 kB / 0.8803 GB, free: 4.121 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.529e-05/0.00434, allocations: 3.938 kB / 0.8803 GB, free: 4.117 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.436e-05/0.004354, allocations: 5.125 kB / 0.8803 GB, free: 4.113 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003951/0.004749, allocations: 271.4 kB / 0.8805 GB, free: 3.848 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.48e-05/0.004764, allocations: 0 / 0.8805 GB, free: 3.848 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.166e-05/0.004786, allocations: 9.047 kB / 0.8806 GB, free: 3.84 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002619/0.005047, allocations: 159.5 kB / 0.8807 GB, free: 3.684 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.00505, allocations: 0 / 0.8807 GB, free: 3.684 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.374e-06/0.005052, allocations: 5.078 kB / 0.8807 GB, free: 3.68 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.005057, allocations: 0 / 0.8807 GB, free: 3.68 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.0004241/0.005481, allocations: 388.3 kB / 0.8811 GB, free: 3.262 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.005526, allocations: 8.906 kB / 0.8811 GB, free: 3.254 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.835e-05/0.005574, allocations: 4.938 kB / 0.8811 GB, free: 3.25 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.696e-05/0.005671, allocations: 109.2 kB / 0.8812 GB, free: 3.117 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.005686, allocations: 8.359 kB / 0.8812 GB, free: 3.109 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.574e-05/0.005712, allocations: 9.984 kB / 0.8812 GB, free: 3.102 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001062/0.005818, allocations: 59.97 kB / 0.8813 GB, free: 3.031 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.005826, allocations: 192 / 0.8813 GB, free: 3.031 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.005837, allocations: 4.359 kB / 0.8813 GB, free: 3.027 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.395e-06/0.005845, allocations: 384 / 0.8813 GB, free: 3.027 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.999e-05/0.005875, allocations: 8.438 kB / 0.8813 GB, free: 3.02 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001548/0.00603, allocations: 130.5 kB / 0.8814 GB, free: 2.859 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001976/0.006227, allocations: 50.98 kB / 0.8815 GB, free: 2.797 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.156e-05/0.006259, allocations: 15.69 kB / 0.8815 GB, free: 2.777 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.006278, allocations: 4 kB / 0.8815 GB, free: 2.773 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.006304, allocations: 37.98 kB / 0.8815 GB, free: 2.727 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.006305, allocations: 0.875 kB / 0.8815 GB, free: 2.727 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0005593/0.006864, allocations: 233.8 kB / 0.8817 GB, free: 2.461 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.309e-05/0.006897, allocations: 56.94 kB / 0.8818 GB, free: 2.395 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.65e-05/0.006974, allocations: 157.9 kB / 0.8819 GB, free: 2.223 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.006986, allocations: 25.7 kB / 0.882 GB, free: 2.191 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.19e-05/0.007028, allocations: 134.9 kB / 0.8821 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.835e-05/0.007057, allocations: 26.5 kB / 0.8821 GB, free: 2.031 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.915e-05/0.007096, allocations: 27.38 kB / 0.8822 GB, free: 1.996 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.007229, allocations: 0.4883 MB / 0.8826 GB, free: 1.496 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.076e-05/0.00725, allocations: 7.984 kB / 0.8826 GB, free: 1.488 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.734e-05/0.007267, allocations: 8 kB / 0.8826 GB, free: 1.48 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.323e-05/0.00732, allocations: 31.83 kB / 0.8827 GB, free: 1.445 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.007321, allocations: 0 / 0.8827 GB, free: 1.445 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.417e-05/0.007416, allocations: 61.64 kB / 0.8827 GB, free: 1.379 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.007429, allocations: 5.812 kB / 0.8827 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.007434, allocations: 0 / 0.8827 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.007448, allocations: 4 kB / 0.8827 GB, free: 1.371 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.066e-05/0.007499, allocations: 15.92 kB / 0.8828 GB, free: 1.355 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.007505, allocations: 7.938 kB / 0.8828 GB, free: 1.348 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.788e-05/0.007523, allocations: 4 kB / 0.8828 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.665e-06/0.00753, allocations: 4 kB / 0.8828 GB, free: 1.34 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 7.782e-05/0.007608, allocations: 152.6 kB / 0.8829 GB, free: 1.18 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.153e-05/0.00762, allocations: 4 kB / 0.8829 GB, free: 1.176 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001213/0.007741, allocations: 69.8 kB / 0.883 GB, free: 1.105 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.007743, allocations: 0 / 0.883 GB, free: 1.105 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.007747, allocations: 3.938 kB / 0.883 GB, free: 1.102 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.00775, allocations: 0 / 0.883 GB, free: 1.102 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002695/0.00802, allocations: 313.1 kB / 0.8833 GB, free: 0.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.008021, allocations: 4.031 kB / 0.8833 GB, free: 0.7461 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.374e-05/0.008075, allocations: 15.98 kB / 0.8833 GB, free: 0.7305 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.145e-06/0.008077, allocations: 3.938 kB / 0.8833 GB, free: 0.7266 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.008089, allocations: 7.938 kB / 0.8833 GB, free: 0.7188 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.008092, allocations: 4 kB / 0.8833 GB, free: 0.7148 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.008093, allocations: 0 / 0.8833 GB, free: 0.7148 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001697/0.008263, allocations: 227.8 kB / 0.8835 GB, free: 480 kB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.952e-05/0.008282, allocations: 11.94 kB / 0.8836 GB, free: 468 kB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.308e-05/0.008295, allocations: 3.938 kB / 0.8836 GB, free: 464 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.909e-05/0.008354, allocations: 0 / 0.8836 GB, free: 464 kB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.902e-05/0.008373, allocations: 7.984 kB / 0.8836 GB, free: 456 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.13e-06/0.008379, allocations: 4.031 kB / 0.8836 GB, free: 452 kB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.888e-05/0.008417, allocations: 127.2 kB / 0.8837 GB, free: 324 kB / 0.8386 GB Notification: Performance of sort global known variables: time 9e-08/0.008417, allocations: 0 / 0.8837 GB, free: 324 kB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002656/0.008683, allocations: 23.88 kB / 0.8837 GB, free: 300 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.0001687/0.008852, allocations: 123.1 kB / 0.8838 GB, free: 164 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.737e-05/0.008949, allocations: 31.67 kB / 0.8839 GB, free: 128 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.008952, allocations: 4 kB / 0.8839 GB, free: 124 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.809e-05/0.00898, allocations: 23.62 kB / 0.8839 GB, free: 96 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002324/0.009213, allocations: 8.062 kB / 0.8839 GB, free: 88 kB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005841/0.009797, allocations: 178.5 kB / 0.8841 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.204e-05/0.009839, allocations: 59.34 kB / 0.8841 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.849e-05/0.009868, allocations: 8.25 kB / 0.8841 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.459e-05/0.009892, allocations: 12.5 kB / 0.8841 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of SimCode: time 7.91e-07/0.009893, allocations: 0 / 0.8841 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of Templates: time 0.00302/0.01291, allocations: 0.7393 MB / 0.8849 GB, free: 15.09 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.069293112959713]