Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00103/0.00103, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.00177/0.00177, allocations: 161 kB / 24.16 MB, free: 336 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 1.09/1.09, allocations: 177.1 MB / 204.6 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.92/1.92, allocations: 377.9 MB / 0.624 GB, free: 8.367 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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_dp_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_12_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_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 0.7601 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.471e-05/2.674e-05, allocations: 6.312 kB / 0.7601 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002269/0.002295, allocations: 1.376 MB / 0.7614 GB, free: 5.227 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0008097/0.003105, allocations: 0.5821 MB / 0.762 GB, free: 4.652 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.967e-05/0.003135, allocations: 0.8125 kB / 0.762 GB, free: 4.652 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.909e-05/0.003154, allocations: 3.984 kB / 0.762 GB, free: 4.648 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.599e-05/0.00321, allocations: 12.42 kB / 0.762 GB, free: 4.641 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004875/0.003697, allocations: 133.5 kB / 0.7621 GB, free: 4.52 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.575e-05/0.003763, allocations: 23.86 kB / 0.7621 GB, free: 4.496 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.751e-05/0.003801, allocations: 9.453 kB / 0.7621 GB, free: 4.488 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 6.184e-05/0.003862, allocations: 4 kB / 0.7622 GB, free: 4.484 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.93e-05/0.003912, allocations: 7.984 kB / 0.7622 GB, free: 4.477 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.416e-05/0.003926, allocations: 0 / 0.7622 GB, free: 4.477 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003624/0.004288, allocations: 284.6 kB / 0.7624 GB, free: 4.199 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.536e-05/0.004304, allocations: 0 / 0.7624 GB, free: 4.199 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.992e-05/0.004324, allocations: 11.94 kB / 0.7624 GB, free: 4.188 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002051/0.004529, allocations: 151.5 kB / 0.7626 GB, free: 4.039 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.004532, allocations: 1.25 kB / 0.7626 GB, free: 4.039 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.363e-06/0.004534, allocations: 0 / 0.7626 GB, free: 4.039 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.004537, allocations: 3.938 kB / 0.7626 GB, free: 4.035 MB / 0.7136 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.0003113/0.004849, allocations: 263.3 kB / 0.7628 GB, free: 3.754 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.004882, allocations: 8.031 kB / 0.7629 GB, free: 3.746 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.564e-05/0.004908, allocations: 4.938 kB / 0.7629 GB, free: 3.742 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.4e-05/0.004982, allocations: 110 kB / 0.763 GB, free: 3.609 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.248e-06/0.004991, allocations: 384 / 0.763 GB, free: 3.609 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.726e-05/0.005008, allocations: 4.375 kB / 0.763 GB, free: 3.605 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.318e-05/0.005082, allocations: 63.95 kB / 0.763 GB, free: 3.531 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.611e-06/0.005087, allocations: 192 / 0.763 GB, free: 3.531 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.713e-06/0.005094, allocations: 7.109 kB / 0.763 GB, free: 3.527 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.005098, allocations: 4.375 kB / 0.763 GB, free: 3.523 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.91e-05/0.005117, allocations: 11.92 kB / 0.763 GB, free: 3.512 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.711e-05/0.005204, allocations: 61.03 kB / 0.7631 GB, free: 3.438 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001346/0.005339, allocations: 42.55 kB / 0.7631 GB, free: 3.387 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.556e-05/0.005354, allocations: 8.859 kB / 0.7632 GB, free: 3.375 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.364e-05/0.005368, allocations: 0.5625 kB / 0.7632 GB, free: 3.375 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/0.005389, allocations: 39.92 kB / 0.7632 GB, free: 3.328 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 7.61e-07/0.00539, allocations: 0 / 0.7632 GB, free: 3.328 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0004831/0.005873, allocations: 237.7 kB / 0.7634 GB, free: 3.062 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.189e-05/0.005895, allocations: 52.06 kB / 0.7635 GB, free: 3 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.241e-05/0.005947, allocations: 98.72 kB / 0.7636 GB, free: 2.891 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.849e-06/0.005957, allocations: 28.89 kB / 0.7636 GB, free: 2.859 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.495e-05/0.005982, allocations: 92.06 kB / 0.7637 GB, free: 2.766 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.974e-05/0.006012, allocations: 23.78 kB / 0.7637 GB, free: 2.742 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.702e-05/0.006039, allocations: 17.72 kB / 0.7637 GB, free: 2.719 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.839e-05/0.006127, allocations: 318.8 kB / 0.764 GB, free: 2.398 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.112e-05/0.006138, allocations: 4 kB / 0.764 GB, free: 2.395 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.37e-05/0.006152, allocations: 15.97 kB / 0.764 GB, free: 2.379 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.332e-05/0.006185, allocations: 20.84 kB / 0.7641 GB, free: 2.355 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.006187, allocations: 0 / 0.7641 GB, free: 2.355 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 6.11e-05/0.006248, allocations: 60.73 kB / 0.7641 GB, free: 2.293 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.006262, allocations: 6.344 kB / 0.7641 GB, free: 2.289 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.006267, allocations: 0 / 0.7641 GB, free: 2.289 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.006279, allocations: 0 / 0.7641 GB, free: 2.289 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.009e-05/0.006339, allocations: 15.94 kB / 0.7641 GB, free: 2.273 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.966e-06/0.006342, allocations: 0 / 0.7641 GB, free: 2.273 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.207e-05/0.006355, allocations: 3.938 kB / 0.7641 GB, free: 2.27 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.141e-06/0.006361, allocations: 3.984 kB / 0.7641 GB, free: 2.266 MB / 0.7136 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 5.766e-05/0.006418, allocations: 115.7 kB / 0.7643 GB, free: 2.145 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.013e-06/0.006425, allocations: 0 / 0.7643 GB, free: 2.145 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001054/0.006531, allocations: 57.8 kB / 0.7643 GB, free: 2.078 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.006533, allocations: 0 / 0.7643 GB, free: 2.078 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.006536, allocations: 0.6875 kB / 0.7643 GB, free: 2.078 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.00654, allocations: 4.453 kB / 0.7643 GB, free: 2.074 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001995/0.006739, allocations: 210.1 kB / 0.7645 GB, free: 1.844 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.006742, allocations: 0 / 0.7645 GB, free: 1.844 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.962e-05/0.006791, allocations: 19.94 kB / 0.7645 GB, free: 1.824 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.006793, allocations: 0 / 0.7645 GB, free: 1.824 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.0068, allocations: 0 / 0.7645 GB, free: 1.824 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.006804, allocations: 8.172 kB / 0.7645 GB, free: 1.816 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.291e-05/0.006827, allocations: 6.906 kB / 0.7646 GB, free: 1.812 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001151/0.006942, allocations: 160.3 kB / 0.7647 GB, free: 1.637 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.862e-05/0.006961, allocations: 3.984 kB / 0.7647 GB, free: 1.633 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.158e-05/0.006973, allocations: 4 kB / 0.7647 GB, free: 1.629 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.664e-05/0.007009, allocations: 0 / 0.7647 GB, free: 1.629 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.519e-05/0.007024, allocations: 11.92 kB / 0.7647 GB, free: 1.617 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.57e-06/0.00703, allocations: 4 kB / 0.7647 GB, free: 1.613 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 9.889e-06/0.00704, allocations: 12.8 kB / 0.7647 GB, free: 1.598 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.00704, allocations: 1.562 kB / 0.7647 GB, free: 1.598 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001507/0.007191, allocations: 15.94 kB / 0.7648 GB, free: 1.582 MB / 0.7136 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.0001453/0.007336, allocations: 108.4 kB / 0.7649 GB, free: 1.473 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.139e-05/0.007397, allocations: 28.84 kB / 0.7649 GB, free: 1.441 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.0074, allocations: 0 / 0.7649 GB, free: 1.441 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.499e-05/0.007415, allocations: 17.45 kB / 0.7649 GB, free: 1.422 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001162/0.007531, allocations: 15.92 kB / 0.7649 GB, free: 1.406 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004262/0.007957, allocations: 183.5 kB / 0.7651 GB, free: 1.219 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.244e-05/0.00799, allocations: 56.77 kB / 0.7651 GB, free: 1.145 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.222e-05/0.008012, allocations: 8.375 kB / 0.7652 GB, free: 1.137 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.205e-05/0.008054, allocations: 59.92 kB / 0.7652 GB, free: 1.078 MB / 0.7136 GB Notification: Performance of SimCode: time 5.51e-07/0.008055, allocations: 0 / 0.7652 GB, free: 1.078 MB / 0.7136 GB Notification: Performance of Templates: time 0.002357/0.01041, allocations: 0.72 MB / 0.7659 GB, free: 440 kB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.998569436836988]