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.0009361/0.0009361, allocations: 73.88 kB / 20.66 MB, free: 3.84 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.000999/0.000999, allocations: 173 kB / 24.06 MB, free: 448 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 0.935/0.935, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.09/2.09, allocations: 429.5 MB / 0.6743 GB, free: 3.906 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.262e-06/1.262e-06, allocations: 0 / 0.8794 GB, free: 5.984 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.121e-05/1.247e-05, allocations: 8.984 kB / 0.8794 GB, free: 5.977 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.001893/0.001905, allocations: 1.546 MB / 0.8809 GB, free: 4.445 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0008672/0.002772, allocations: 0.6045 MB / 0.8815 GB, free: 3.844 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.336e-05/0.002816, allocations: 0 / 0.8815 GB, free: 3.844 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.174e-05/0.002847, allocations: 5.562 kB / 0.8815 GB, free: 3.84 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.435e-05/0.002902, allocations: 3.938 kB / 0.8815 GB, free: 3.836 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005218/0.003424, allocations: 164.3 kB / 0.8817 GB, free: 3.676 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.619e-05/0.00351, allocations: 51.83 kB / 0.8817 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.195e-05/0.003552, allocations: 5.094 kB / 0.8817 GB, free: 3.621 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8.658e-05/0.003638, allocations: 31.91 kB / 0.8818 GB, free: 3.59 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.156e-05/0.00368, allocations: 19.97 kB / 0.8818 GB, free: 3.57 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.77e-05/0.003698, allocations: 4.656 kB / 0.8818 GB, free: 3.566 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003183/0.004016, allocations: 276.2 kB / 0.8821 GB, free: 3.297 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.642e-05/0.004042, allocations: 19.91 kB / 0.8821 GB, free: 3.277 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.419e-05/0.004066, allocations: 13.28 kB / 0.8821 GB, free: 3.266 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002372/0.004304, allocations: 183.4 kB / 0.8823 GB, free: 3.086 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.724e-06/0.004305, allocations: 0 / 0.8823 GB, free: 3.086 MB / 0.8386 GB Notification: Performance of FrontEnd: time 4.71e-07/0.004306, allocations: 0 / 0.8823 GB, free: 3.086 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.004311, allocations: 5.031 kB / 0.8823 GB, free: 3.082 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.0004433/0.004754, allocations: 424.1 kB / 0.8827 GB, free: 2.629 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.004791, allocations: 9.156 kB / 0.8827 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.047e-05/0.004832, allocations: 12.89 kB / 0.8827 GB, free: 2.609 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001018/0.004933, allocations: 116.5 kB / 0.8828 GB, free: 2.469 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.456e-05/0.004958, allocations: 9.406 kB / 0.8828 GB, free: 2.461 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.131e-05/0.004979, allocations: 4.375 kB / 0.8828 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001621/0.005141, allocations: 131.5 kB / 0.8829 GB, free: 2.309 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.005153, allocations: 192 / 0.8829 GB, free: 2.309 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/0.005168, allocations: 4.375 kB / 0.8829 GB, free: 2.305 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.005175, allocations: 3.406 kB / 0.8829 GB, free: 2.305 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.006e-05/0.005215, allocations: 23.91 kB / 0.883 GB, free: 2.281 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003802/0.005595, allocations: 292.2 kB / 0.8833 GB, free: 1.969 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001168/0.005712, allocations: 67.02 kB / 0.8833 GB, free: 1.891 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.592e-05/0.005738, allocations: 19.67 kB / 0.8833 GB, free: 1.867 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.465e-05/0.005752, allocations: 3.938 kB / 0.8833 GB, free: 1.863 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/0.005776, allocations: 42.83 kB / 0.8834 GB, free: 1.812 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 8.42e-07/0.005777, allocations: 4 kB / 0.8834 GB, free: 1.809 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11): time 0.0007332/0.00651, allocations: 435 kB / 0.8838 GB, free: 1.324 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.394e-05/0.006544, allocations: 55.41 kB / 0.8838 GB, free: 1.258 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.682e-05/0.006621, allocations: 161.9 kB / 0.884 GB, free: 1.082 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/0.006636, allocations: 29.7 kB / 0.884 GB, free: 1.047 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.41e-05/0.00669, allocations: 135.8 kB / 0.8842 GB, free: 0.9102 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.342e-05/0.006723, allocations: 39.67 kB / 0.8842 GB, free: 0.8711 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.01e-05/0.006763, allocations: 35.36 kB / 0.8842 GB, free: 0.8281 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.006899, allocations: 496.7 kB / 0.8847 GB, free: 340 kB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.016e-05/0.006919, allocations: 17.58 kB / 0.8847 GB, free: 324 kB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.461e-05/0.006944, allocations: 20.11 kB / 0.8847 GB, free: 304 kB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.691e-05/0.006991, allocations: 43.11 kB / 0.8848 GB, free: 260 kB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.006994, allocations: 3.938 kB / 0.8848 GB, free: 256 kB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001047/0.007098, allocations: 93.62 kB / 0.8849 GB, free: 156 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.00711, allocations: 4 kB / 0.8849 GB, free: 152 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.453e-06/0.007117, allocations: 4 kB / 0.8849 GB, free: 148 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.175e-06/0.007125, allocations: 3.938 kB / 0.8849 GB, free: 144 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.226e-05/0.007207, allocations: 27.92 kB / 0.8849 GB, free: 116 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.837e-06/0.007211, allocations: 0 / 0.8849 GB, free: 116 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.355e-05/0.007234, allocations: 0 / 0.8849 GB, free: 116 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.176e-06/0.007243, allocations: 11.98 kB / 0.8849 GB, free: 104 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 9.478e-05/0.007337, allocations: 160.5 kB / 0.8851 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.3e-05/0.00736, allocations: 11.95 kB / 0.8851 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000138/0.007498, allocations: 97.72 kB / 0.8852 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.0075, allocations: 0 / 0.8852 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.007503, allocations: 7.938 kB / 0.8852 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.007508, allocations: 0 / 0.8852 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002746/0.007783, allocations: 329.9 kB / 0.8855 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.007784, allocations: 0 / 0.8855 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.666e-05/0.007861, allocations: 23.98 kB / 0.8855 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.007863, allocations: 0 / 0.8855 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.007873, allocations: 11.94 kB / 0.8855 GB, free: 15.42 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.007875, allocations: 0 / 0.8855 GB, free: 15.42 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.007875, allocations: 0 / 0.8855 GB, free: 15.42 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001962/0.008071, allocations: 251.7 kB / 0.8858 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 9.588e-06/0.008081, allocations: 11.95 kB / 0.8858 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.141e-05/0.008092, allocations: 0 / 0.8858 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.706e-05/0.00814, allocations: 7.984 kB / 0.8858 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.8e-05/0.008158, allocations: 7.984 kB / 0.8858 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/0.008166, allocations: 4 kB / 0.8858 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.741e-05/0.008203, allocations: 123.2 kB / 0.8859 GB, free: 15 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.008204, allocations: 0 / 0.8859 GB, free: 15 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001938/0.008397, allocations: 43.86 kB / 0.886 GB, free: 14.96 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.0001523/0.00855, allocations: 135.1 kB / 0.8861 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001027/0.008652, allocations: 60.09 kB / 0.8862 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.008654, allocations: 0 / 0.8862 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.572e-05/0.008689, allocations: 43.48 kB / 0.8862 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001823/0.008872, allocations: 15.92 kB / 0.8862 GB, free: 14.69 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005687/0.00944, allocations: 258.9 kB / 0.8865 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.918e-05/0.00948, allocations: 67.34 kB / 0.8865 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.376e-05/0.009523, allocations: 20.73 kB / 0.8865 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.273e-05/0.009596, allocations: 90.19 kB / 0.8866 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of SimCode: time 5.11e-07/0.009597, allocations: 0 / 0.8866 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of Templates: time 0.003058/0.01265, allocations: 1.317 MB / 0.8879 GB, free: 12.95 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.4629082679748535]