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.0009327/0.0009327, allocations: 72.89 kB / 19.94 MB, free: 4.391 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.0009732/0.0009732, allocations: 173 kB / 23.36 MB, free: 0.9727 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.9672/0.9672, allocations: 177.2 MB / 203.8 MB, free: 5.469 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.286/2.286, allocations: 438.8 MB / 0.6827 GB, free: 13.6 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.423e-06/1.423e-06, allocations: 0 / 0.8386 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.877e-05/2.019e-05, allocations: 10.31 kB / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001753/0.001773, allocations: 1.335 MB / 0.8399 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0007314/0.002505, allocations: 0.5681 MB / 0.8405 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.357e-05/0.002528, allocations: 0 / 0.8405 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.928e-05/0.002547, allocations: 7.938 kB / 0.8405 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 4.627e-05/0.002594, allocations: 7.922 kB / 0.8405 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004831/0.003077, allocations: 147.3 kB / 0.8406 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 5.813e-05/0.003135, allocations: 27.84 kB / 0.8407 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.316e-05/0.003168, allocations: 4 kB / 0.8407 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 5.122e-05/0.003219, allocations: 7.984 kB / 0.8407 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 4.076e-05/0.00326, allocations: 4 kB / 0.8407 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.219e-05/0.003272, allocations: 0 / 0.8407 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002982/0.00357, allocations: 271.4 kB / 0.8409 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.556e-05/0.003586, allocations: 7.922 kB / 0.8409 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.597e-05/0.003602, allocations: 11.94 kB / 0.8409 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001903/0.003792, allocations: 147.6 kB / 0.8411 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.003794, allocations: 4 kB / 0.8411 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.01e-07/0.003795, allocations: 0 / 0.8411 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.517e-06/0.003798, allocations: 0 / 0.8411 GB, free: 11.66 MB / 0.8073 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.000275/0.004073, allocations: 272.5 kB / 0.8414 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.171e-05/0.004105, allocations: 8.625 kB / 0.8414 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.402e-05/0.004129, allocations: 0.9375 kB / 0.8414 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.293e-05/0.004202, allocations: 113.8 kB / 0.8415 GB, free: 11.22 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.487e-06/0.004212, allocations: 384 / 0.8415 GB, free: 11.22 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.846e-05/0.00423, allocations: 4.375 kB / 0.8415 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.699e-05/0.004307, allocations: 63.95 kB / 0.8415 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.553e-06/0.004314, allocations: 4.188 kB / 0.8415 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.911e-06/0.00432, allocations: 384 / 0.8415 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.004324, allocations: 4.375 kB / 0.8415 GB, free: 11.13 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.888e-05/0.004343, allocations: 11.88 kB / 0.8416 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.394e-05/0.004427, allocations: 64.94 kB / 0.8416 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001334/0.004561, allocations: 42.59 kB / 0.8417 GB, free: 10.99 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.736e-05/0.004578, allocations: 12.94 kB / 0.8417 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.27e-05/0.004591, allocations: 0 / 0.8417 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.08e-05/0.004612, allocations: 34.56 kB / 0.8417 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 7.01e-07/0.004612, allocations: 0 / 0.8417 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6): time 0.0004359/0.005048, allocations: 233.2 kB / 0.8419 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.732e-05/0.005075, allocations: 51.41 kB / 0.842 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.311e-05/0.005119, allocations: 99.05 kB / 0.8421 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.718e-06/0.005128, allocations: 25.7 kB / 0.8421 GB, free: 10.47 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.172e-05/0.00515, allocations: 88.12 kB / 0.8422 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.451e-05/0.005174, allocations: 23.78 kB / 0.8422 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.442e-05/0.005199, allocations: 17.72 kB / 0.8422 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.38e-05/0.005273, allocations: 322.8 kB / 0.8425 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.478e-06/0.005282, allocations: 8 kB / 0.8425 GB, free: 10 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.798e-06/0.005292, allocations: 4 kB / 0.8425 GB, free: 9.996 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.068e-05/0.005323, allocations: 24.84 kB / 0.8426 GB, free: 9.969 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.005324, allocations: 3.938 kB / 0.8426 GB, free: 9.965 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 5.218e-05/0.005376, allocations: 49.67 kB / 0.8426 GB, free: 9.91 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.808e-06/0.005386, allocations: 11.94 kB / 0.8426 GB, free: 9.898 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.00539, allocations: 0 / 0.8426 GB, free: 9.898 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.005402, allocations: 192 / 0.8426 GB, free: 9.898 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.78e-05/0.005439, allocations: 11.98 kB / 0.8426 GB, free: 9.887 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.597e-06/0.005443, allocations: 4 kB / 0.8426 GB, free: 9.883 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.112e-05/0.005454, allocations: 3.938 kB / 0.8426 GB, free: 9.879 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.005459, allocations: 7.984 kB / 0.8426 GB, free: 9.871 MB / 0.8073 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 4.603e-05/0.005505, allocations: 109.8 kB / 0.8428 GB, free: 9.754 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.312e-06/0.005511, allocations: 7.938 kB / 0.8428 GB, free: 9.746 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.811e-05/0.005589, allocations: 62.02 kB / 0.8428 GB, free: 9.684 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-06/0.005591, allocations: 0 / 0.8428 GB, free: 9.684 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.005592, allocations: 0 / 0.8428 GB, free: 9.684 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.005595, allocations: 0 / 0.8428 GB, free: 9.684 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003085/0.005904, allocations: 215.5 kB / 0.843 GB, free: 9.445 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.005905, allocations: 192 / 0.843 GB, free: 9.445 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.373e-05/0.005949, allocations: 23.98 kB / 0.843 GB, free: 9.422 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.005951, allocations: 4.031 kB / 0.8431 GB, free: 9.418 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.451e-06/0.005957, allocations: 0 / 0.8431 GB, free: 9.418 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.005957, allocations: 0 / 0.8431 GB, free: 9.418 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.005959, allocations: 0 / 0.8431 GB, free: 9.418 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001065/0.006065, allocations: 164.3 kB / 0.8432 GB, free: 9.238 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.729e-05/0.006082, allocations: 4 kB / 0.8432 GB, free: 9.234 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.534e-06/0.00609, allocations: 0 / 0.8432 GB, free: 9.234 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.484e-05/0.006125, allocations: 4 kB / 0.8432 GB, free: 9.23 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.216e-05/0.006137, allocations: 7.922 kB / 0.8432 GB, free: 9.223 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.006142, allocations: 8 kB / 0.8432 GB, free: 9.215 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 8.516e-06/0.006151, allocations: 4.859 kB / 0.8432 GB, free: 9.207 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8e-08/0.006151, allocations: 4.031 kB / 0.8432 GB, free: 9.203 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001381/0.006289, allocations: 19.94 kB / 0.8433 GB, free: 9.184 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.0001233/0.006412, allocations: 108.2 kB / 0.8434 GB, free: 9.07 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.813e-05/0.006471, allocations: 28.8 kB / 0.8434 GB, free: 9.039 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.006473, allocations: 0 / 0.8434 GB, free: 9.039 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.492e-05/0.006488, allocations: 16.84 kB / 0.8434 GB, free: 9.02 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001089/0.006597, allocations: 8 kB / 0.8434 GB, free: 9.012 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003964/0.006993, allocations: 189.4 kB / 0.8436 GB, free: 8.801 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.876e-05/0.007022, allocations: 59.36 kB / 0.8437 GB, free: 8.723 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.109e-05/0.007043, allocations: 7.984 kB / 0.8437 GB, free: 8.715 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.595e-05/0.007079, allocations: 55.38 kB / 0.8437 GB, free: 8.66 MB / 0.8073 GB Notification: Performance of SimCode: time 7.11e-07/0.007079, allocations: 0 / 0.8437 GB, free: 8.66 MB / 0.8073 GB Notification: Performance of Templates: time 0.002218/0.009297, allocations: 0.7418 MB / 0.8444 GB, free: 7.961 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.088226275052875]