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.0009222/0.0009222, allocations: 93.06 kB / 19.65 MB, free: 272 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.0009484/0.0009484, allocations: 169 kB / 23.02 MB, free: 1.539 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.9393/0.9393, allocations: 177.1 MB / 203.4 MB, free: 5.633 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 1.976/1.976, allocations: 429.5 MB / 0.6732 GB, free: 4.039 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.664e-06/1.664e-06, allocations: 0 / 0.8782 GB, free: 6.297 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.093e-05/3.259e-05, allocations: 4.844 kB / 0.8782 GB, free: 6.293 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.00207/0.002103, allocations: 1.355 MB / 0.8795 GB, free: 4.945 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001011/0.003114, allocations: 0.58 MB / 0.8801 GB, free: 4.371 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.664e-05/0.003141, allocations: 0 / 0.8801 GB, free: 4.371 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.262e-05/0.003164, allocations: 1.75 kB / 0.8801 GB, free: 4.371 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.261e-05/0.003216, allocations: 11.91 kB / 0.8801 GB, free: 4.359 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005513/0.003767, allocations: 140.2 kB / 0.8802 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.546e-05/0.003833, allocations: 23.92 kB / 0.8803 GB, free: 4.199 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.002e-05/0.003873, allocations: 7.922 kB / 0.8803 GB, free: 4.191 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.33e-05/0.003926, allocations: 9.125 kB / 0.8803 GB, free: 4.184 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.252e-05/0.003979, allocations: 11.92 kB / 0.8803 GB, free: 4.172 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.634e-05/0.003995, allocations: 4 kB / 0.8803 GB, free: 4.168 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003146/0.00431, allocations: 260.6 kB / 0.8805 GB, free: 3.914 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.767e-05/0.004327, allocations: 11.97 kB / 0.8805 GB, free: 3.902 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.183e-05/0.004349, allocations: 4 kB / 0.8805 GB, free: 3.898 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002166/0.004566, allocations: 152.5 kB / 0.8807 GB, free: 3.75 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.004569, allocations: 0 / 0.8807 GB, free: 3.75 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.213e-06/0.00457, allocations: 0 / 0.8807 GB, free: 3.75 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.004576, allocations: 4.969 kB / 0.8807 GB, free: 3.746 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.0003611/0.004938, allocations: 388.3 kB / 0.8811 GB, free: 3.328 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.004975, allocations: 10.5 kB / 0.8811 GB, free: 3.32 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.552e-05/0.005021, allocations: 16.86 kB / 0.8811 GB, free: 3.305 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.803e-05/0.005099, allocations: 104.6 kB / 0.8812 GB, free: 3.176 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.005109, allocations: 384 / 0.8812 GB, free: 3.176 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.245e-05/0.005131, allocations: 8.328 kB / 0.8812 GB, free: 3.168 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.52e-05/0.005227, allocations: 63.95 kB / 0.8813 GB, free: 3.094 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.242e-06/0.005233, allocations: 4.188 kB / 0.8813 GB, free: 3.09 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.797e-06/0.005242, allocations: 2.438 kB / 0.8813 GB, free: 3.09 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.005248, allocations: 384 / 0.8813 GB, free: 3.09 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.596e-05/0.005274, allocations: 7.938 kB / 0.8813 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000123/0.005397, allocations: 124.5 kB / 0.8814 GB, free: 2.926 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001784/0.005575, allocations: 55.75 kB / 0.8814 GB, free: 2.859 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.702e-05/0.005602, allocations: 19.69 kB / 0.8815 GB, free: 2.836 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.658e-05/0.005619, allocations: 1.656 kB / 0.8815 GB, free: 2.836 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.219e-05/0.005641, allocations: 41.47 kB / 0.8815 GB, free: 2.785 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.005642, allocations: 3.938 kB / 0.8815 GB, free: 2.781 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0005034/0.006146, allocations: 229.7 kB / 0.8817 GB, free: 2.52 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.988e-05/0.006175, allocations: 59.78 kB / 0.8818 GB, free: 2.449 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.523e-05/0.006241, allocations: 159.1 kB / 0.8819 GB, free: 2.277 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.061e-05/0.006251, allocations: 25.7 kB / 0.882 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.371e-05/0.006285, allocations: 130.9 kB / 0.8821 GB, free: 2.113 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.483e-05/0.00631, allocations: 25.39 kB / 0.8821 GB, free: 2.09 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.888e-05/0.006339, allocations: 23.38 kB / 0.8821 GB, free: 2.059 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.006446, allocations: 0.4884 MB / 0.8826 GB, free: 1.559 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.704e-05/0.006463, allocations: 4 kB / 0.8826 GB, free: 1.555 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.624e-05/0.00648, allocations: 16 kB / 0.8826 GB, free: 1.539 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.294e-05/0.006523, allocations: 31.81 kB / 0.8827 GB, free: 1.504 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.72e-07/0.006523, allocations: 0 / 0.8827 GB, free: 1.504 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.226e-05/0.006596, allocations: 69.58 kB / 0.8827 GB, free: 1.43 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.006608, allocations: 4 kB / 0.8827 GB, free: 1.426 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.006614, allocations: 0 / 0.8827 GB, free: 1.426 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.006626, allocations: 0 / 0.8827 GB, free: 1.426 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.411e-05/0.006671, allocations: 12 kB / 0.8827 GB, free: 1.414 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.006676, allocations: 3.938 kB / 0.8827 GB, free: 1.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.218e-05/0.006688, allocations: 0 / 0.8827 GB, free: 1.41 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.006694, allocations: 0 / 0.8827 GB, free: 1.41 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.539e-05/0.00676, allocations: 164.6 kB / 0.8829 GB, free: 1.238 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.022e-05/0.00677, allocations: 7.984 kB / 0.8829 GB, free: 1.23 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001164/0.006886, allocations: 73.73 kB / 0.883 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.006888, allocations: 0 / 0.883 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.006892, allocations: 3.938 kB / 0.883 GB, free: 1.152 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.006895, allocations: 0 / 0.883 GB, free: 1.152 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002226/0.007117, allocations: 309.2 kB / 0.8833 GB, free: 0.8047 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.007119, allocations: 0 / 0.8833 GB, free: 0.8047 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.2e-05/0.007161, allocations: 15.94 kB / 0.8833 GB, free: 0.7891 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.007163, allocations: 0 / 0.8833 GB, free: 0.7891 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.007173, allocations: 7.969 kB / 0.8833 GB, free: 0.7812 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.007175, allocations: 0 / 0.8833 GB, free: 0.7812 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.007177, allocations: 4.188 kB / 0.8833 GB, free: 0.7773 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001492/0.007326, allocations: 231.6 kB / 0.8835 GB, free: 0.5273 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.485e-05/0.007341, allocations: 4 kB / 0.8835 GB, free: 0.5234 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.303e-05/0.007354, allocations: 11.86 kB / 0.8835 GB, free: 0.5117 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.847e-05/0.007393, allocations: 4 kB / 0.8835 GB, free: 0.5078 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.617e-05/0.007409, allocations: 7.938 kB / 0.8836 GB, free: 0.5 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.938e-06/0.007413, allocations: 0 / 0.8836 GB, free: 0.5 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.323e-05/0.007446, allocations: 127.2 kB / 0.8837 GB, free: 384 kB / 0.8386 GB Notification: Performance of sort global known variables: time 8e-08/0.007446, allocations: 4.031 kB / 0.8837 GB, free: 380 kB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001671/0.007613, allocations: 23.94 kB / 0.8837 GB, free: 356 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.0001524/0.007766, allocations: 119.1 kB / 0.8838 GB, free: 224 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.667e-05/0.007852, allocations: 31.67 kB / 0.8838 GB, free: 188 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.007854, allocations: 0 / 0.8838 GB, free: 188 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.295e-05/0.007877, allocations: 31.61 kB / 0.8839 GB, free: 152 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001565/0.008034, allocations: 4 kB / 0.8839 GB, free: 148 kB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004867/0.00852, allocations: 189.5 kB / 0.8841 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.297e-05/0.008553, allocations: 55.36 kB / 0.8841 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.213e-05/0.008575, allocations: 8.234 kB / 0.8841 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.932e-05/0.008595, allocations: 16.5 kB / 0.8841 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of SimCode: time 8.81e-07/0.008596, allocations: 0 / 0.8841 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of Templates: time 0.002401/0.011, allocations: 0.7047 MB / 0.8848 GB, free: 15.17 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: 4.934701594989747]