Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009664/0.0009664, allocations: 85.91 kB / 19.87 MB, free: 4.625 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.0009387/0.0009387, allocations: 169.7 kB / 23.27 MB, free: 1.23 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.9296/0.9296, allocations: 177.1 MB / 203.7 MB, free: 5.512 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.434/2.434, allocations: 438.1 MB / 0.682 GB, free: 14.14 MB / 0.6511 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_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 0.8898 GB, free: 9.734 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.357e-05/1.532e-05, allocations: 5.406 kB / 0.8898 GB, free: 9.73 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001623/0.001638, allocations: 1.364 MB / 0.8911 GB, free: 8.355 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0006732/0.002311, allocations: 0.572 MB / 0.8917 GB, free: 7.781 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.573e-05/0.002337, allocations: 0 / 0.8917 GB, free: 7.781 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.609e-05/0.002353, allocations: 0 / 0.8917 GB, free: 7.781 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 3.339e-05/0.002387, allocations: 0 / 0.8917 GB, free: 7.781 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003599/0.002747, allocations: 143.2 kB / 0.8918 GB, free: 7.641 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 4.747e-05/0.002794, allocations: 27.91 kB / 0.8918 GB, free: 7.613 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 2.816e-05/0.002822, allocations: 0 / 0.8918 GB, free: 7.613 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 4.738e-05/0.00287, allocations: 19.92 kB / 0.8918 GB, free: 7.594 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 3.797e-05/0.002908, allocations: 4 kB / 0.8918 GB, free: 7.59 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.401e-05/0.002922, allocations: 0 / 0.8918 GB, free: 7.59 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000272/0.003194, allocations: 271.4 kB / 0.8921 GB, free: 7.324 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.719e-05/0.003211, allocations: 11.98 kB / 0.8921 GB, free: 7.312 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.499e-05/0.003226, allocations: 4 kB / 0.8921 GB, free: 7.309 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001936/0.003419, allocations: 155.5 kB / 0.8923 GB, free: 7.156 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.003423, allocations: 3.984 kB / 0.8923 GB, free: 7.152 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.71e-07/0.003423, allocations: 0 / 0.8923 GB, free: 7.152 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.236e-06/0.003426, allocations: 0 / 0.8923 GB, free: 7.152 MB / 0.8542 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.0002982/0.003724, allocations: 384.3 kB / 0.8926 GB, free: 6.738 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.003758, allocations: 12.62 kB / 0.8926 GB, free: 6.727 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.229e-05/0.00378, allocations: 4.938 kB / 0.8927 GB, free: 6.723 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.749e-05/0.003848, allocations: 116.6 kB / 0.8928 GB, free: 6.582 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.806e-06/0.003857, allocations: 4.359 kB / 0.8928 GB, free: 6.578 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.944e-05/0.003876, allocations: 4.375 kB / 0.8928 GB, free: 6.574 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.566e-05/0.003952, allocations: 63.91 kB / 0.8928 GB, free: 6.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.003959, allocations: 4.172 kB / 0.8928 GB, free: 6.496 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.362e-06/0.003966, allocations: 384 / 0.8928 GB, free: 6.496 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.003972, allocations: 384 / 0.8928 GB, free: 6.496 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.906e-05/0.003991, allocations: 7.938 kB / 0.8928 GB, free: 6.488 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.678e-05/0.004088, allocations: 101.2 kB / 0.8929 GB, free: 6.363 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001257/0.004213, allocations: 59.06 kB / 0.893 GB, free: 6.293 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.852e-05/0.004232, allocations: 23.56 kB / 0.893 GB, free: 6.266 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.673e-05/0.004249, allocations: 0 / 0.893 GB, free: 6.266 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.762e-05/0.004266, allocations: 33.39 kB / 0.8931 GB, free: 6.223 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=4): time 5.81e-07/0.004267, allocations: 0 / 0.8931 GB, free: 6.223 MB / 0.8542 GB Notification: Performance of matching and sorting (n=6): time 0.0003708/0.004638, allocations: 225.8 kB / 0.8933 GB, free: 5.965 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.494e-05/0.004662, allocations: 55.39 kB / 0.8933 GB, free: 5.898 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.54e-05/0.004718, allocations: 157.9 kB / 0.8935 GB, free: 5.727 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 7.655e-06/0.004726, allocations: 25.7 kB / 0.8935 GB, free: 5.695 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 2.944e-05/0.004755, allocations: 130.9 kB / 0.8936 GB, free: 5.562 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.462e-05/0.00478, allocations: 31.77 kB / 0.8936 GB, free: 5.531 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.476e-05/0.004804, allocations: 23.38 kB / 0.8937 GB, free: 5.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.004912, allocations: 0.4884 MB / 0.8941 GB, free: 5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.081e-05/0.004922, allocations: 7.984 kB / 0.8942 GB, free: 4.992 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.217e-06/0.004932, allocations: 4 kB / 0.8942 GB, free: 4.988 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.882e-05/0.00496, allocations: 31.77 kB / 0.8942 GB, free: 4.953 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.004961, allocations: 0 / 0.8942 GB, free: 4.953 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7) (initialization): time 5.555e-05/0.005017, allocations: 53.69 kB / 0.8942 GB, free: 4.895 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.307e-06/0.005026, allocations: 8 kB / 0.8942 GB, free: 4.887 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.00503, allocations: 4 kB / 0.8943 GB, free: 4.883 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.664e-06/0.005038, allocations: 0 / 0.8943 GB, free: 4.883 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.341e-05/0.005071, allocations: 11.98 kB / 0.8943 GB, free: 4.871 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.194e-06/0.005073, allocations: 0 / 0.8943 GB, free: 4.871 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.106e-05/0.005084, allocations: 7.938 kB / 0.8943 GB, free: 4.863 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.176e-06/0.005088, allocations: 3.938 kB / 0.8943 GB, free: 4.859 MB / 0.8542 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.344e-05/0.005141, allocations: 160.6 kB / 0.8944 GB, free: 4.691 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.323e-06/0.005148, allocations: 7.953 kB / 0.8944 GB, free: 4.684 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.39e-05/0.005222, allocations: 65.8 kB / 0.8945 GB, free: 4.609 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.92e-07/0.005223, allocations: 0 / 0.8945 GB, free: 4.609 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-06/0.005224, allocations: 4 kB / 0.8945 GB, free: 4.605 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.005228, allocations: 3.938 kB / 0.8945 GB, free: 4.602 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001729/0.005401, allocations: 301.9 kB / 0.8948 GB, free: 4.27 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.005402, allocations: 0 / 0.8948 GB, free: 4.27 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.14e-05/0.005433, allocations: 8 kB / 0.8948 GB, free: 4.262 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.005435, allocations: 3.984 kB / 0.8948 GB, free: 4.258 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.63e-06/0.005441, allocations: 4 kB / 0.8948 GB, free: 4.254 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.51e-07/0.005441, allocations: 0 / 0.8948 GB, free: 4.254 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.005443, allocations: 7.875 kB / 0.8948 GB, free: 4.246 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001073/0.005551, allocations: 219.6 kB / 0.895 GB, free: 4.008 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.296e-05/0.005564, allocations: 16 kB / 0.895 GB, free: 3.992 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.655e-06/0.005571, allocations: 0 / 0.895 GB, free: 3.992 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.305e-05/0.005604, allocations: 0 / 0.895 GB, free: 3.992 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.055e-05/0.005615, allocations: 15.92 kB / 0.8951 GB, free: 3.977 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.005618, allocations: 0 / 0.8951 GB, free: 3.977 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.746e-05/0.005646, allocations: 123.2 kB / 0.8952 GB, free: 3.855 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4e-08/0.005646, allocations: 0 / 0.8952 GB, free: 3.855 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001526/0.005798, allocations: 19.94 kB / 0.8952 GB, free: 3.836 MB / 0.8542 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.0001107/0.005909, allocations: 127 kB / 0.8953 GB, free: 3.703 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 5.837e-05/0.005967, allocations: 31.67 kB / 0.8953 GB, free: 3.668 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.005969, allocations: 4 kB / 0.8953 GB, free: 3.664 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.126e-05/0.00599, allocations: 23.61 kB / 0.8954 GB, free: 3.637 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001402/0.00613, allocations: 11.94 kB / 0.8954 GB, free: 3.625 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003711/0.006501, allocations: 186.9 kB / 0.8956 GB, free: 3.41 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.04e-05/0.006532, allocations: 63.28 kB / 0.8956 GB, free: 3.328 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.886e-05/0.00655, allocations: 4 kB / 0.8956 GB, free: 3.324 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.945e-05/0.00659, allocations: 74.2 kB / 0.8957 GB, free: 3.25 MB / 0.8542 GB Notification: Performance of SimCode: time 4.41e-07/0.00659, allocations: 0 / 0.8957 GB, free: 3.25 MB / 0.8542 GB Notification: Performance of Templates: time 0.002072/0.008662, allocations: 0.7606 MB / 0.8964 GB, free: 2.535 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 5.158331357873976]