Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001002/0.001002, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001649/0.001649, allocations: 165.4 kB / 24.17 MB, free: 332 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.006/1.006, allocations: 177.1 MB / 204.6 MB, free: 5.477 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.927/1.927, allocations: 377.9 MB / 0.624 GB, free: 8.383 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_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_12_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_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 0.7601 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.973e-05/2.109e-05, allocations: 6.312 kB / 0.7601 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001864/0.001885, allocations: 1.384 MB / 0.7614 GB, free: 5.25 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0007072/0.002593, allocations: 0.584 MB / 0.762 GB, free: 4.676 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.194e-05/0.002615, allocations: 1.094 kB / 0.762 GB, free: 4.676 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.59e-05/0.00263, allocations: 4.812 kB / 0.762 GB, free: 4.672 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 3.423e-05/0.002665, allocations: 2.297 kB / 0.762 GB, free: 4.672 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.000658/0.003323, allocations: 145.2 kB / 0.7621 GB, free: 4.539 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 5.139e-05/0.003374, allocations: 21.17 kB / 0.7621 GB, free: 4.52 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.226e-05/0.003406, allocations: 8 kB / 0.7622 GB, free: 4.512 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 4.978e-05/0.003456, allocations: 11.98 kB / 0.7622 GB, free: 4.5 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.014e-05/0.003496, allocations: 9.188 kB / 0.7622 GB, free: 4.492 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.164e-05/0.003508, allocations: 3.984 kB / 0.7622 GB, free: 4.488 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003033/0.003811, allocations: 279.4 kB / 0.7624 GB, free: 4.215 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.299e-05/0.003824, allocations: 1.031 kB / 0.7624 GB, free: 4.215 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.414e-05/0.003838, allocations: 8 kB / 0.7625 GB, free: 4.207 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001861/0.004024, allocations: 155.5 kB / 0.7626 GB, free: 4.055 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.004027, allocations: 0.5312 kB / 0.7626 GB, free: 4.055 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.172e-06/0.004028, allocations: 1.469 kB / 0.7626 GB, free: 4.055 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.587e-06/0.004031, allocations: 0 / 0.7626 GB, free: 4.055 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.0002544/0.004286, allocations: 256.3 kB / 0.7628 GB, free: 3.777 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.942e-05/0.004315, allocations: 12.03 kB / 0.7629 GB, free: 3.766 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.403e-05/0.004339, allocations: 2.156 kB / 0.7629 GB, free: 3.766 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.306e-05/0.004412, allocations: 118.1 kB / 0.763 GB, free: 3.625 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.715e-06/0.00442, allocations: 384 / 0.763 GB, free: 3.625 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.664e-05/0.004437, allocations: 9.859 kB / 0.763 GB, free: 3.617 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.525e-05/0.004512, allocations: 63.95 kB / 0.763 GB, free: 3.543 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.581e-06/0.004517, allocations: 192 / 0.763 GB, free: 3.543 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.761e-06/0.004523, allocations: 384 / 0.763 GB, free: 3.543 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.004528, allocations: 0.875 kB / 0.763 GB, free: 3.543 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.862e-05/0.004546, allocations: 15.88 kB / 0.7631 GB, free: 3.527 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.144e-05/0.004628, allocations: 57.8 kB / 0.7631 GB, free: 3.457 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001201/0.004748, allocations: 35.36 kB / 0.7631 GB, free: 3.414 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.735e-05/0.004765, allocations: 17.62 kB / 0.7632 GB, free: 3.395 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.259e-05/0.004778, allocations: 0 / 0.7632 GB, free: 3.395 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.944e-05/0.004797, allocations: 36.06 kB / 0.7632 GB, free: 3.352 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 5.61e-07/0.004798, allocations: 3.938 kB / 0.7632 GB, free: 3.348 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0004425/0.00524, allocations: 241.6 kB / 0.7634 GB, free: 3.078 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.266e-05/0.005263, allocations: 51.41 kB / 0.7635 GB, free: 3.016 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.737e-05/0.00531, allocations: 104.4 kB / 0.7636 GB, free: 2.902 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.476e-06/0.005319, allocations: 25.7 kB / 0.7636 GB, free: 2.871 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.034e-05/0.005339, allocations: 80.14 kB / 0.7637 GB, free: 2.789 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.596e-05/0.005365, allocations: 27.78 kB / 0.7637 GB, free: 2.762 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.811e-05/0.005393, allocations: 20.14 kB / 0.7637 GB, free: 2.738 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.139e-05/0.005465, allocations: 322.8 kB / 0.764 GB, free: 2.414 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.077e-06/0.005474, allocations: 4 kB / 0.764 GB, free: 2.41 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.03e-05/0.005484, allocations: 4 kB / 0.764 GB, free: 2.406 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.401e-05/0.005518, allocations: 28.77 kB / 0.7641 GB, free: 2.375 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.005519, allocations: 0 / 0.7641 GB, free: 2.375 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 5.758e-05/0.005576, allocations: 49.75 kB / 0.7641 GB, free: 2.32 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.005589, allocations: 10.56 kB / 0.7641 GB, free: 2.312 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.005595, allocations: 4 kB / 0.7641 GB, free: 2.309 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.117e-06/0.005604, allocations: 0.5156 kB / 0.7641 GB, free: 2.309 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.004e-05/0.005644, allocations: 11.98 kB / 0.7641 GB, free: 2.297 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.274e-06/0.005646, allocations: 0 / 0.7641 GB, free: 2.297 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.14e-05/0.005657, allocations: 7.938 kB / 0.7642 GB, free: 2.289 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.316e-06/0.005661, allocations: 0 / 0.7642 GB, free: 2.289 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.061e-05/0.005711, allocations: 114.8 kB / 0.7643 GB, free: 2.168 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.983e-06/0.005718, allocations: 4 kB / 0.7643 GB, free: 2.164 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.104e-05/0.005799, allocations: 58.8 kB / 0.7643 GB, free: 2.098 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.005802, allocations: 3.984 kB / 0.7643 GB, free: 2.094 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-06/0.005803, allocations: 2.969 kB / 0.7643 GB, free: 2.094 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.005806, allocations: 0 / 0.7643 GB, free: 2.094 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001753/0.005981, allocations: 211.6 kB / 0.7645 GB, free: 1.859 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.005983, allocations: 0 / 0.7645 GB, free: 1.859 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.319e-05/0.006026, allocations: 15.98 kB / 0.7645 GB, free: 1.844 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.006029, allocations: 0 / 0.7645 GB, free: 1.844 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.006035, allocations: 4 kB / 0.7646 GB, free: 1.84 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.006038, allocations: 0 / 0.7646 GB, free: 1.84 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.006041, allocations: 7.031 kB / 0.7646 GB, free: 1.836 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001109/0.006152, allocations: 160.3 kB / 0.7647 GB, free: 1.66 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.591e-05/0.006168, allocations: 4 kB / 0.7647 GB, free: 1.656 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.125e-06/0.006176, allocations: 3.938 kB / 0.7647 GB, free: 1.652 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.784e-05/0.006214, allocations: 4.188 kB / 0.7647 GB, free: 1.648 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.405e-05/0.006228, allocations: 7.922 kB / 0.7647 GB, free: 1.641 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.693e-06/0.006235, allocations: 8 kB / 0.7647 GB, free: 1.633 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.109e-05/0.006246, allocations: 12.84 kB / 0.7647 GB, free: 1.617 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-08/0.006246, allocations: 1.531 kB / 0.7648 GB, free: 1.617 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001485/0.006394, allocations: 19.94 kB / 0.7648 GB, free: 1.598 MB / 0.7136 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.000138/0.006532, allocations: 101.5 kB / 0.7649 GB, free: 1.492 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.005e-05/0.006592, allocations: 33.02 kB / 0.7649 GB, free: 1.457 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.006595, allocations: 0 / 0.7649 GB, free: 1.457 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.672e-05/0.006612, allocations: 21.47 kB / 0.7649 GB, free: 1.434 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001107/0.006723, allocations: 4.688 kB / 0.7649 GB, free: 1.43 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004355/0.007158, allocations: 189.8 kB / 0.7651 GB, free: 1.234 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.311e-05/0.007191, allocations: 55.36 kB / 0.7652 GB, free: 1.16 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.391e-05/0.007215, allocations: 7.984 kB / 0.7652 GB, free: 1.152 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.947e-05/0.007255, allocations: 54.41 kB / 0.7652 GB, free: 1.102 MB / 0.7136 GB Notification: Performance of SimCode: time 6.81e-07/0.007255, allocations: 0 / 0.7652 GB, free: 1.102 MB / 0.7136 GB Notification: Performance of Templates: time 0.002347/0.009603, allocations: 0.7553 MB / 0.766 GB, free: 432 kB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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: 4.98012270219624]