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.0009484/0.0009484, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.0009863/0.0009863, allocations: 169 kB / 24.06 MB, free: 456 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.004/1.004, allocations: 177.1 MB / 204.5 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.099/2.099, allocations: 429.5 MB / 0.6743 GB, free: 3.902 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_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.533e-06/1.533e-06, allocations: 0 / 0.8794 GB, free: 5.988 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.733e-05/1.887e-05, allocations: 2.906 kB / 0.8794 GB, free: 5.984 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001699/0.001718, allocations: 1.356 MB / 0.8807 GB, free: 4.641 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0007999/0.002518, allocations: 0.5794 MB / 0.8813 GB, free: 4.066 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.877e-05/0.002546, allocations: 0 / 0.8813 GB, free: 4.066 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.194e-05/0.002568, allocations: 5.781 kB / 0.8813 GB, free: 4.062 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.507e-05/0.002613, allocations: 0 / 0.8813 GB, free: 4.062 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004727/0.003086, allocations: 147.2 kB / 0.8814 GB, free: 3.918 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.34e-05/0.00316, allocations: 28.86 kB / 0.8815 GB, free: 3.891 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.225e-05/0.003202, allocations: 0 / 0.8815 GB, free: 3.891 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.72e-05/0.003259, allocations: 9.109 kB / 0.8815 GB, free: 3.883 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.934e-05/0.003308, allocations: 4 kB / 0.8815 GB, free: 3.879 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.003327, allocations: 4 kB / 0.8815 GB, free: 3.875 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003075/0.003634, allocations: 276.4 kB / 0.8818 GB, free: 3.605 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.782e-05/0.003652, allocations: 4 kB / 0.8818 GB, free: 3.602 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.717e-05/0.003669, allocations: 7.984 kB / 0.8818 GB, free: 3.594 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002046/0.003874, allocations: 156.6 kB / 0.8819 GB, free: 3.441 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.003876, allocations: 0 / 0.8819 GB, free: 3.441 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.11e-07/0.003877, allocations: 4 kB / 0.8819 GB, free: 3.438 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.528e-06/0.003881, allocations: 0.9688 kB / 0.8819 GB, free: 3.438 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003801/0.004261, allocations: 388.3 kB / 0.8823 GB, free: 3.02 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.004299, allocations: 10.5 kB / 0.8823 GB, free: 3.012 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.397e-05/0.004333, allocations: 8.875 kB / 0.8823 GB, free: 3.004 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001018/0.004435, allocations: 108.6 kB / 0.8824 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.004448, allocations: 4.375 kB / 0.8824 GB, free: 2.867 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.916e-05/0.004467, allocations: 8.328 kB / 0.8824 GB, free: 2.859 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.382e-05/0.004561, allocations: 67.88 kB / 0.8825 GB, free: 2.781 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.00457, allocations: 4.188 kB / 0.8825 GB, free: 2.777 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.813e-06/0.004577, allocations: 2.438 kB / 0.8825 GB, free: 2.777 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.004583, allocations: 384 / 0.8825 GB, free: 2.777 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.095e-05/0.004604, allocations: 7.938 kB / 0.8825 GB, free: 2.77 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001265/0.004731, allocations: 105.2 kB / 0.8826 GB, free: 2.641 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001594/0.00489, allocations: 55.03 kB / 0.8827 GB, free: 2.574 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.224e-05/0.004912, allocations: 16.34 kB / 0.8827 GB, free: 2.555 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.556e-05/0.004928, allocations: 5.656 kB / 0.8827 GB, free: 2.551 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/0.004958, allocations: 33.39 kB / 0.8827 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 7.42e-07/0.004959, allocations: 0 / 0.8827 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0004296/0.005388, allocations: 217.8 kB / 0.8829 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.375e-05/0.005422, allocations: 59.89 kB / 0.883 GB, free: 2.188 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.958e-05/0.005492, allocations: 155.8 kB / 0.8831 GB, free: 2.02 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.13e-05/0.005503, allocations: 29.7 kB / 0.8832 GB, free: 1.984 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.959e-05/0.005543, allocations: 126.9 kB / 0.8833 GB, free: 1.855 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.255e-05/0.005575, allocations: 31.77 kB / 0.8833 GB, free: 1.824 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.979e-05/0.005605, allocations: 23.38 kB / 0.8833 GB, free: 1.793 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.005733, allocations: 497.3 kB / 0.8838 GB, free: 1.297 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.44e-05/0.005747, allocations: 7.984 kB / 0.8838 GB, free: 1.289 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.151e-05/0.005759, allocations: 8 kB / 0.8838 GB, free: 1.281 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.546e-05/0.005794, allocations: 31.77 kB / 0.8838 GB, free: 1.246 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-07/0.005795, allocations: 1.594 kB / 0.8838 GB, free: 1.246 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 6.303e-05/0.005858, allocations: 57.67 kB / 0.8839 GB, free: 1.184 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.005869, allocations: 4 kB / 0.8839 GB, free: 1.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.748e-06/0.005874, allocations: 0 / 0.8839 GB, free: 1.18 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.005885, allocations: 4 kB / 0.8839 GB, free: 1.176 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.747e-05/0.005932, allocations: 15.98 kB / 0.8839 GB, free: 1.16 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.587e-06/0.005936, allocations: 0 / 0.8839 GB, free: 1.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.146e-05/0.005948, allocations: 3.938 kB / 0.8839 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-06/0.005952, allocations: 7.938 kB / 0.8839 GB, free: 1.148 MB / 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 (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 6.806e-05/0.00602, allocations: 156.6 kB / 0.8841 GB, free: 0.9844 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.486e-06/0.006028, allocations: 11.89 kB / 0.8841 GB, free: 0.9727 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.845e-05/0.006127, allocations: 62.44 kB / 0.8842 GB, free: 0.9102 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.006129, allocations: 8 kB / 0.8842 GB, free: 0.9023 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.006131, allocations: 0 / 0.8842 GB, free: 0.9023 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.006138, allocations: 7.938 kB / 0.8842 GB, free: 0.8945 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002104/0.006348, allocations: 293.7 kB / 0.8845 GB, free: 0.5703 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.00635, allocations: 3.984 kB / 0.8845 GB, free: 0.5664 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.972e-05/0.00639, allocations: 15.98 kB / 0.8845 GB, free: 0.5508 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.006392, allocations: 0 / 0.8845 GB, free: 0.5508 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.006398, allocations: 0 / 0.8845 GB, free: 0.5508 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.0064, allocations: 4 kB / 0.8845 GB, free: 0.5469 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.006402, allocations: 3.938 kB / 0.8845 GB, free: 0.543 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001336/0.006536, allocations: 215.6 kB / 0.8847 GB, free: 316 kB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.519e-05/0.006551, allocations: 11.94 kB / 0.8847 GB, free: 304 kB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.054e-05/0.006562, allocations: 8.062 kB / 0.8847 GB, free: 296 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.499e-05/0.006597, allocations: 0 / 0.8847 GB, free: 296 kB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.5e-05/0.006612, allocations: 11.92 kB / 0.8847 GB, free: 284 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.006618, allocations: 4 kB / 0.8847 GB, free: 280 kB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.59e-05/0.006654, allocations: 119.2 kB / 0.8848 GB, free: 160 kB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.006654, allocations: 4 kB / 0.8848 GB, free: 156 kB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001565/0.00681, allocations: 15.94 kB / 0.8849 GB, free: 140 kB / 0.8386 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.0001533/0.006964, allocations: 131 kB / 0.885 GB, free: 16 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 7.562e-05/0.007039, allocations: 27.67 kB / 0.885 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.007042, allocations: 8 kB / 0.885 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.011e-05/0.007062, allocations: 23.61 kB / 0.885 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001557/0.007218, allocations: 8 kB / 0.885 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004203/0.007638, allocations: 180.6 kB / 0.8852 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.803e-05/0.007676, allocations: 63.28 kB / 0.8853 GB, free: 15.63 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.047e-05/0.007696, allocations: 4.25 kB / 0.8853 GB, free: 15.63 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.576e-05/0.007742, allocations: 74.2 kB / 0.8853 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of SimCode: time 5.31e-07/0.007743, allocations: 0 / 0.8853 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of Templates: time 0.002371/0.01011, allocations: 0.7697 MB / 0.8861 GB, free: 14.83 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.452279439195991]