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.001563/0.001563, allocations: 73.09 kB / 20.65 MB, free: 3.848 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.001553/0.001553, allocations: 173 kB / 24.06 MB, free: 456 kB / 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.9843/0.9843, allocations: 177.1 MB / 204.5 MB, free: 5.531 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.069/2.069, allocations: 429.5 MB / 0.6743 GB, free: 3.934 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.563e-06/1.563e-06, allocations: 0 / 0.8794 GB, free: 4.875 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.073e-05/2.229e-05, allocations: 5 kB / 0.8794 GB, free: 4.871 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001684/0.001706, allocations: 1.345 MB / 0.8807 GB, free: 3.535 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0007326/0.002438, allocations: 0.5749 MB / 0.8813 GB, free: 2.969 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.416e-05/0.002463, allocations: 1.219 kB / 0.8813 GB, free: 2.969 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 1.957e-05/0.002482, allocations: 3.938 kB / 0.8813 GB, free: 2.965 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 5.583e-05/0.002538, allocations: 4 kB / 0.8813 GB, free: 2.961 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003991/0.002937, allocations: 150.5 kB / 0.8814 GB, free: 2.816 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 6.191e-05/0.002999, allocations: 19.92 kB / 0.8815 GB, free: 2.797 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 3.978e-05/0.003039, allocations: 4 kB / 0.8815 GB, free: 2.793 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 5.757e-05/0.003096, allocations: 19.91 kB / 0.8815 GB, free: 2.773 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 4.975e-05/0.003146, allocations: 4 kB / 0.8815 GB, free: 2.77 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.369e-05/0.00316, allocations: 0 / 0.8815 GB, free: 2.77 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002997/0.00346, allocations: 272 kB / 0.8817 GB, free: 2.504 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.705e-05/0.003477, allocations: 0 / 0.8817 GB, free: 2.504 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.685e-05/0.003493, allocations: 9.547 kB / 0.8818 GB, free: 2.496 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.000207/0.0037, allocations: 155.5 kB / 0.8819 GB, free: 2.344 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.003704, allocations: 3.984 kB / 0.8819 GB, free: 2.34 MB / 0.7917 GB Notification: Performance of FrontEnd: time 5.51e-07/0.003704, allocations: 0 / 0.8819 GB, free: 2.34 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.003709, allocations: 5.406 kB / 0.8819 GB, free: 2.336 MB / 0.7917 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.0003349/0.004044, allocations: 384.3 kB / 0.8823 GB, free: 1.922 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.496e-05/0.004079, allocations: 12.03 kB / 0.8823 GB, free: 1.91 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.494e-05/0.004104, allocations: 0.9375 kB / 0.8823 GB, free: 1.91 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.886e-05/0.004183, allocations: 116.6 kB / 0.8824 GB, free: 1.77 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.837e-06/0.004192, allocations: 384 / 0.8824 GB, free: 1.77 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.83e-05/0.00421, allocations: 8.359 kB / 0.8824 GB, free: 1.762 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.248e-05/0.004283, allocations: 59.91 kB / 0.8825 GB, free: 1.691 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.042e-06/0.004289, allocations: 192 / 0.8825 GB, free: 1.691 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.158e-06/0.004298, allocations: 8.359 kB / 0.8825 GB, free: 1.684 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.004302, allocations: 384 / 0.8825 GB, free: 1.684 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.86e-05/0.004321, allocations: 7.938 kB / 0.8825 GB, free: 1.676 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001079/0.004429, allocations: 105.2 kB / 0.8826 GB, free: 1.547 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001433/0.004572, allocations: 47.19 kB / 0.8826 GB, free: 1.488 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.141e-05/0.004593, allocations: 27.66 kB / 0.8827 GB, free: 1.457 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 1.324e-05/0.004606, allocations: 0 / 0.8827 GB, free: 1.457 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.004628, allocations: 37.39 kB / 0.8827 GB, free: 1.41 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=4): time 1.743e-06/0.00463, allocations: 3.984 kB / 0.8827 GB, free: 1.406 MB / 0.7917 GB Notification: Performance of matching and sorting (n=6): time 0.0003956/0.005026, allocations: 221.6 kB / 0.8829 GB, free: 1.152 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.726e-05/0.005053, allocations: 51.41 kB / 0.883 GB, free: 1.09 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.84e-05/0.005121, allocations: 165.8 kB / 0.8831 GB, free: 0.9102 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 1.114e-05/0.005132, allocations: 29.7 kB / 0.8831 GB, free: 0.875 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 3.565e-05/0.005168, allocations: 126.9 kB / 0.8833 GB, free: 0.7461 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 2.287e-05/0.005191, allocations: 15.86 kB / 0.8833 GB, free: 0.7305 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.968e-05/0.005221, allocations: 35.34 kB / 0.8833 GB, free: 0.6875 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.005333, allocations: 496.1 kB / 0.8838 GB, free: 196 kB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.287e-05/0.005345, allocations: 7.984 kB / 0.8838 GB, free: 188 kB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.159e-05/0.005357, allocations: 4 kB / 0.8838 GB, free: 184 kB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.461e-05/0.005392, allocations: 27.67 kB / 0.8838 GB, free: 152 kB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.005392, allocations: 64 / 0.8838 GB, free: 152 kB / 0.7917 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.109e-05/0.005464, allocations: 65.77 kB / 0.8839 GB, free: 80 kB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.005476, allocations: 8 kB / 0.8839 GB, free: 72 kB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.005479, allocations: 0 / 0.8839 GB, free: 72 kB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.025e-06/0.005487, allocations: 0 / 0.8839 GB, free: 72 kB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.847e-05/0.005526, allocations: 15.98 kB / 0.8839 GB, free: 56 kB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.627e-06/0.005529, allocations: 4 kB / 0.8839 GB, free: 52 kB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.103e-05/0.00554, allocations: 3.938 kB / 0.8839 GB, free: 48 kB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.005546, allocations: 4 kB / 0.8839 GB, free: 44 kB / 0.7917 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.02e-05/0.005616, allocations: 160.5 kB / 0.8841 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.522e-06/0.005622, allocations: 0 / 0.8841 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.096e-05/0.005713, allocations: 69.73 kB / 0.8841 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.005715, allocations: 0 / 0.8841 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.005716, allocations: 0 / 0.8841 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.00572, allocations: 7.875 kB / 0.8842 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002043/0.005924, allocations: 305.7 kB / 0.8844 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.005926, allocations: 0 / 0.8844 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.838e-05/0.005965, allocations: 8 kB / 0.8844 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.005968, allocations: 7.984 kB / 0.8845 GB, free: 15.44 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.942e-06/0.005974, allocations: 0 / 0.8845 GB, free: 15.44 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.005975, allocations: 0 / 0.8845 GB, free: 15.44 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.005977, allocations: 3.938 kB / 0.8845 GB, free: 15.44 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001253/0.006102, allocations: 223.5 kB / 0.8847 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.537e-05/0.006118, allocations: 7.984 kB / 0.8847 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.945e-06/0.006126, allocations: 0 / 0.8847 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.687e-05/0.006163, allocations: 4.188 kB / 0.8847 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.313e-05/0.006176, allocations: 16 kB / 0.8847 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.129e-06/0.006181, allocations: 3.984 kB / 0.8847 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.524e-05/0.006216, allocations: 123.2 kB / 0.8848 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.006216, allocations: 0 / 0.8848 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000163/0.006379, allocations: 23.94 kB / 0.8848 GB, free: 15.02 MB / 0.8073 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.0001179/0.006497, allocations: 115.2 kB / 0.885 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.978e-05/0.006567, allocations: 31.61 kB / 0.885 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.006568, allocations: 0 / 0.885 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.207e-05/0.00659, allocations: 31.72 kB / 0.885 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001454/0.006736, allocations: 4 kB / 0.885 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004169/0.007153, allocations: 186.3 kB / 0.8852 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.332e-05/0.007186, allocations: 63.34 kB / 0.8853 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.827e-05/0.007204, allocations: 4 kB / 0.8853 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.581e-05/0.00725, allocations: 78.2 kB / 0.8853 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of SimCode: time 7.11e-07/0.007251, allocations: 0 / 0.8853 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of Templates: time 0.002324/0.009575, allocations: 0.7394 MB / 0.8861 GB, free: 13.75 MB / 0.8073 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.267065833788365]