Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001039/0.001039, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.0009841/0.0009841, allocations: 181 kB / 24.09 MB, free: 420 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.9412/0.9412, allocations: 177.1 MB / 204.5 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.835/1.835, allocations: 377.9 MB / 0.624 GB, free: 8.414 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 0.812 GB, free: 1.473 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.065e-05/1.186e-05, allocations: 6.375 kB / 0.812 GB, free: 1.469 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.001958/0.00197, allocations: 1.522 MB / 0.8135 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.005845/0.007815, allocations: 0.5957 MB / 0.8141 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.399e-05/0.007849, allocations: 0 / 0.8141 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.557e-05/0.007875, allocations: 3.938 kB / 0.8141 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 4.748e-05/0.007922, allocations: 12.62 kB / 0.8141 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004588/0.008381, allocations: 165.3 kB / 0.8143 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 6.92e-05/0.00845, allocations: 47.86 kB / 0.8143 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.443e-05/0.008485, allocations: 11.98 kB / 0.8143 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 7.276e-05/0.008557, allocations: 32.56 kB / 0.8143 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 3.645e-05/0.008594, allocations: 23.95 kB / 0.8144 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.379e-05/0.008608, allocations: 5.094 kB / 0.8144 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003262/0.008934, allocations: 267.4 kB / 0.8146 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.005e-05/0.008954, allocations: 15.92 kB / 0.8146 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.228e-05/0.008976, allocations: 21.12 kB / 0.8147 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002322/0.009208, allocations: 179.3 kB / 0.8148 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.00921, allocations: 3.938 kB / 0.8148 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of FrontEnd: time 4.51e-07/0.009211, allocations: 1.375 kB / 0.8148 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 2.976e-06/0.009214, allocations: 0 / 0.8148 GB, free: 14.59 MB / 0.7761 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.0004586/0.009672, allocations: 424.1 kB / 0.8152 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.009707, allocations: 9.781 kB / 0.8152 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.145e-05/0.009739, allocations: 8.891 kB / 0.8153 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.213e-05/0.009811, allocations: 116.6 kB / 0.8154 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/0.009831, allocations: 4.375 kB / 0.8154 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.733e-05/0.009848, allocations: 8.375 kB / 0.8154 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001481/0.009996, allocations: 132.2 kB / 0.8155 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.01, allocations: 192 / 0.8155 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.01001, allocations: 4.375 kB / 0.8155 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.01002, allocations: 384 / 0.8155 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.855e-05/0.01006, allocations: 24.64 kB / 0.8155 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003328/0.01338, allocations: 298.5 kB / 0.8158 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001094/0.01349, allocations: 67.02 kB / 0.8159 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.948e-05/0.01351, allocations: 11.69 kB / 0.8159 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.795e-05/0.01353, allocations: 8 kB / 0.8159 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.01356, allocations: 37.33 kB / 0.8159 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 9.42e-07/0.01356, allocations: 1.906 kB / 0.8159 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11): time 0.0006699/0.01423, allocations: 444.3 kB / 0.8164 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.407e-05/0.01425, allocations: 55.91 kB / 0.8164 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.252e-05/0.01431, allocations: 158.4 kB / 0.8166 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.209e-05/0.01433, allocations: 27.58 kB / 0.8166 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.000162/0.01449, allocations: 146.8 kB / 0.8167 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.933e-05/0.01452, allocations: 35.64 kB / 0.8168 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-05/0.01456, allocations: 35.36 kB / 0.8168 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.01467, allocations: 0.4884 MB / 0.8173 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.461e-05/0.01469, allocations: 18.48 kB / 0.8173 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.286e-05/0.01472, allocations: 18 kB / 0.8173 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.452e-05/0.01477, allocations: 43.61 kB / 0.8174 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.01477, allocations: 3.938 kB / 0.8174 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001032/0.01488, allocations: 88.45 kB / 0.8174 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.01489, allocations: 10.64 kB / 0.8175 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.01489, allocations: 0 / 0.8175 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.0149, allocations: 5.156 kB / 0.8175 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.275e-05/0.01499, allocations: 23.98 kB / 0.8175 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.435e-06/0.01499, allocations: 0 / 0.8175 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.784e-05/0.01502, allocations: 4.688 kB / 0.8175 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.533e-06/0.01502, allocations: 4 kB / 0.8175 GB, free: 11.62 MB / 0.7761 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.13e-05/0.0151, allocations: 170 kB / 0.8176 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.541e-05/0.01512, allocations: 4 kB / 0.8177 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001272/0.01525, allocations: 94.08 kB / 0.8177 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.01525, allocations: 3.688 kB / 0.8177 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.01525, allocations: 0 / 0.8177 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.01525, allocations: 3.984 kB / 0.8178 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002625/0.01552, allocations: 342 kB / 0.8181 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.01552, allocations: 4 kB / 0.8181 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.206e-05/0.0156, allocations: 27.98 kB / 0.8181 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.0156, allocations: 0 / 0.8181 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.191e-06/0.01561, allocations: 0 / 0.8181 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.01561, allocations: 4 kB / 0.8181 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.01561, allocations: 2 kB / 0.8181 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001772/0.01579, allocations: 255.7 kB / 0.8184 GB, free: 10.67 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.794e-06/0.0158, allocations: 7.953 kB / 0.8184 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.04e-05/0.01581, allocations: 0 / 0.8184 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.435e-05/0.01587, allocations: 4 kB / 0.8184 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.631e-05/0.01589, allocations: 12.92 kB / 0.8184 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.01589, allocations: 0 / 0.8184 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.261e-05/0.01593, allocations: 127.2 kB / 0.8185 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01593, allocations: 1.125 kB / 0.8185 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.003229/0.01916, allocations: 39.88 kB / 0.8185 GB, free: 10.48 MB / 0.7761 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.0001401/0.0193, allocations: 136.2 kB / 0.8187 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.631e-05/0.01939, allocations: 67.52 kB / 0.8187 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.01939, allocations: 1.031 kB / 0.8187 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.638e-05/0.01943, allocations: 35.61 kB / 0.8188 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002085/0.01964, allocations: 15.45 kB / 0.8188 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004859/0.02012, allocations: 257.7 kB / 0.819 GB, free: 9.945 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.839e-05/0.02016, allocations: 63.34 kB / 0.8191 GB, free: 9.863 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.454e-05/0.02021, allocations: 16.77 kB / 0.8191 GB, free: 9.844 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.922e-05/0.02028, allocations: 90.19 kB / 0.8192 GB, free: 9.754 MB / 0.7761 GB Notification: Performance of SimCode: time 3.8e-07/0.02028, allocations: 0 / 0.8192 GB, free: 9.754 MB / 0.7761 GB Notification: Performance of Templates: time 0.006182/0.02646, allocations: 1.289 MB / 0.8205 GB, free: 8.52 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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: 4.987005261238664]