Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001075/0.001075, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001199/0.001199, allocations: 169 kB / 23.02 MB, free: 1.555 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 1.053/1.053, allocations: 177.1 MB / 203.4 MB, free: 5.652 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.065/2.065, allocations: 429.5 MB / 0.6732 GB, free: 4.02 MB / 0.6355 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_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp|der.dp.|der.dp_comp.",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.8782 GB, free: 6.297 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.745e-05/2.917e-05, allocations: 6.156 kB / 0.8782 GB, free: 6.293 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002147/0.002177, allocations: 1.541 MB / 0.8797 GB, free: 4.762 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0008751/0.003052, allocations: 0.6048 MB / 0.8803 GB, free: 4.16 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.832e-05/0.00309, allocations: 5.062 kB / 0.8803 GB, free: 4.156 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.318e-05/0.003123, allocations: 0 / 0.8803 GB, free: 4.156 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.994e-05/0.003173, allocations: 7.875 kB / 0.8803 GB, free: 4.148 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005558/0.003729, allocations: 169.7 kB / 0.8805 GB, free: 3.984 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.245e-05/0.003811, allocations: 51.83 kB / 0.8805 GB, free: 3.934 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.495e-05/0.003856, allocations: 4 kB / 0.8805 GB, free: 3.93 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 7.802e-05/0.003934, allocations: 36.64 kB / 0.8806 GB, free: 3.895 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.689e-05/0.003971, allocations: 11.98 kB / 0.8806 GB, free: 3.883 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.00399, allocations: 4.562 kB / 0.8806 GB, free: 3.879 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003286/0.004318, allocations: 278.8 kB / 0.8808 GB, free: 3.609 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.622e-05/0.004344, allocations: 11.98 kB / 0.8808 GB, free: 3.598 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.3e-05/0.004377, allocations: 23.86 kB / 0.8809 GB, free: 3.574 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002758/0.004653, allocations: 179.4 kB / 0.881 GB, free: 3.398 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.004657, allocations: 4 kB / 0.881 GB, free: 3.395 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.31e-07/0.004658, allocations: 0 / 0.881 GB, free: 3.395 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.004664, allocations: 0 / 0.881 GB, free: 3.395 MB / 0.8386 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.0005248/0.005188, allocations: 424.1 kB / 0.8815 GB, free: 2.941 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/0.005238, allocations: 8.031 kB / 0.8815 GB, free: 2.934 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.328e-05/0.005301, allocations: 13.45 kB / 0.8815 GB, free: 2.922 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001018/0.005403, allocations: 124.5 kB / 0.8816 GB, free: 2.773 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.807e-05/0.005431, allocations: 8.312 kB / 0.8816 GB, free: 2.766 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.443e-05/0.005465, allocations: 12.38 kB / 0.8816 GB, free: 2.754 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001967/0.005662, allocations: 133.5 kB / 0.8817 GB, free: 2.605 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.005672, allocations: 192 / 0.8817 GB, free: 2.605 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.005684, allocations: 384 / 0.8817 GB, free: 2.605 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/0.005694, allocations: 4.375 kB / 0.8817 GB, free: 2.602 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.408e-05/0.005748, allocations: 31.91 kB / 0.8818 GB, free: 2.57 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004371/0.006186, allocations: 303.6 kB / 0.8821 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000138/0.006324, allocations: 79.03 kB / 0.8821 GB, free: 2.148 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.925e-05/0.006353, allocations: 27.61 kB / 0.8822 GB, free: 2.117 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.386e-05/0.006377, allocations: 0 / 0.8822 GB, free: 2.117 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.006401, allocations: 37.39 kB / 0.8822 GB, free: 2.07 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.006402, allocations: 0 / 0.8822 GB, free: 2.07 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11): time 0.0008572/0.007259, allocations: 468.5 kB / 0.8826 GB, free: 1.551 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.845e-05/0.007288, allocations: 55.41 kB / 0.8827 GB, free: 1.484 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.386e-05/0.007371, allocations: 157.9 kB / 0.8828 GB, free: 1.312 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.166e-05/0.007383, allocations: 29.7 kB / 0.8829 GB, free: 1.277 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.639e-05/0.007429, allocations: 138.8 kB / 0.883 GB, free: 1.137 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.12e-05/0.007461, allocations: 39.64 kB / 0.883 GB, free: 1.098 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.801e-05/0.007499, allocations: 35.38 kB / 0.8831 GB, free: 1.055 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.007608, allocations: 0.4922 MB / 0.8836 GB, free: 0.5508 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.087e-05/0.007639, allocations: 12 kB / 0.8836 GB, free: 0.5391 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.941e-05/0.007669, allocations: 24.11 kB / 0.8836 GB, free: 0.5156 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.769e-05/0.007736, allocations: 55.61 kB / 0.8836 GB, free: 468 kB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.007737, allocations: 0 / 0.8836 GB, free: 468 kB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001185/0.007856, allocations: 92.81 kB / 0.8837 GB, free: 372 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.007872, allocations: 4 kB / 0.8837 GB, free: 368 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.007878, allocations: 3.984 kB / 0.8837 GB, free: 364 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.007899, allocations: 0 / 0.8837 GB, free: 364 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.008012, allocations: 23.98 kB / 0.8838 GB, free: 340 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.008018, allocations: 0 / 0.8838 GB, free: 340 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.356e-05/0.008041, allocations: 4 kB / 0.8838 GB, free: 336 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/0.00805, allocations: 8 kB / 0.8838 GB, free: 328 kB / 0.8386 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 8.602e-05/0.008136, allocations: 164.5 kB / 0.8839 GB, free: 152 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.426e-05/0.008161, allocations: 15.89 kB / 0.884 GB, free: 136 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001631/0.008324, allocations: 101.7 kB / 0.884 GB, free: 28 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.008326, allocations: 192 / 0.884 GB, free: 28 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.00833, allocations: 4 kB / 0.8841 GB, free: 24 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.008336, allocations: 7.969 kB / 0.8841 GB, free: 16 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003097/0.008645, allocations: 357.3 kB / 0.8844 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.008647, allocations: 0 / 0.8844 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.637e-05/0.008733, allocations: 19.98 kB / 0.8844 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.008737, allocations: 4 kB / 0.8844 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.008748, allocations: 4 kB / 0.8844 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.00875, allocations: 0 / 0.8844 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.008751, allocations: 4 kB / 0.8844 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000199/0.00895, allocations: 267.7 kB / 0.8847 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 7.614e-06/0.008957, allocations: 7.953 kB / 0.8847 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.255e-05/0.00897, allocations: 0 / 0.8847 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.044e-05/0.00902, allocations: 11.98 kB / 0.8847 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.932e-05/0.00904, allocations: 4 kB / 0.8847 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.306e-06/0.009048, allocations: 7.984 kB / 0.8847 GB, free: 15.28 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.311e-05/0.009081, allocations: 127.2 kB / 0.8848 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.1e-08/0.009081, allocations: 0 / 0.8848 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002195/0.009301, allocations: 43.81 kB / 0.8849 GB, free: 15.11 MB / 0.8542 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.0001762/0.009477, allocations: 131.1 kB / 0.885 GB, free: 14.97 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001283/0.009605, allocations: 71.59 kB / 0.8851 GB, free: 14.9 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.009607, allocations: 0 / 0.8851 GB, free: 14.9 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.719e-05/0.009644, allocations: 39.61 kB / 0.8851 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000203/0.009847, allocations: 15.98 kB / 0.8851 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006116/0.01046, allocations: 259.3 kB / 0.8854 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.805e-05/0.0105, allocations: 63.34 kB / 0.8854 GB, free: 14.47 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.709e-05/0.01053, allocations: 8.719 kB / 0.8854 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.168e-05/0.01057, allocations: 20.5 kB / 0.8855 GB, free: 14.45 MB / 0.8542 GB Notification: Performance of SimCode: time 8.72e-07/0.01057, allocations: 0 / 0.8855 GB, free: 14.45 MB / 0.8542 GB Notification: Performance of Templates: time 0.003027/0.01359, allocations: 1.17 MB / 0.8866 GB, free: 13.33 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 5.674516522791237]