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.001918/0.001918, allocations: 88.72 kB / 19.44 MB, free: 356 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.002303/0.002303, allocations: 161.7 kB / 22.76 MB, free: 1.68 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.599/1.599, allocations: 177.1 MB / 203.1 MB, free: 5.168 MB / 186.7 MB " [Timeout remaining time 178] 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 3.444/3.444, allocations: 429.6 MB / 0.673 GB, free: 3.867 MB / 0.6355 GB " [Timeout remaining time 176] 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.793e-06/1.793e-06, allocations: 0.7656 kB / 0.8776 GB, free: 6.457 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.955e-05/3.134e-05, allocations: 9.484 kB / 0.8776 GB, free: 6.449 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002561/0.002593, allocations: 1.323 MB / 0.8789 GB, free: 5.137 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001104/0.003697, allocations: 0.5431 MB / 0.8794 GB, free: 4.602 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.47e-05/0.003722, allocations: 0 / 0.8794 GB, free: 4.602 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.962e-05/0.003741, allocations: 3.938 kB / 0.8794 GB, free: 4.598 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 3.873e-05/0.00378, allocations: 3.984 kB / 0.8794 GB, free: 4.594 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006488/0.004429, allocations: 147.2 kB / 0.8796 GB, free: 4.449 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.49e-05/0.004504, allocations: 19.92 kB / 0.8796 GB, free: 4.43 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.173e-05/0.004545, allocations: 4.578 kB / 0.8796 GB, free: 4.426 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 6.813e-05/0.004613, allocations: 21.14 kB / 0.8796 GB, free: 4.406 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.695e-05/0.00466, allocations: 4 kB / 0.8796 GB, free: 4.402 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.004674, allocations: 0 / 0.8796 GB, free: 4.402 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005074/0.005181, allocations: 271.4 kB / 0.8799 GB, free: 4.137 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.83e-05/0.0052, allocations: 9.078 kB / 0.8799 GB, free: 4.129 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.815e-05/0.005228, allocations: 4 kB / 0.8799 GB, free: 4.125 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003599/0.005588, allocations: 159.5 kB / 0.8801 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.005591, allocations: 1.062 kB / 0.8801 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.82e-07/0.005592, allocations: 0 / 0.8801 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.92e-06/0.005597, allocations: 1.531 kB / 0.8801 GB, free: 3.969 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.0005552/0.006152, allocations: 282 kB / 0.8803 GB, free: 3.66 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.0062, allocations: 8.031 kB / 0.8803 GB, free: 3.652 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.652e-05/0.006257, allocations: 4.938 kB / 0.8803 GB, free: 3.648 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.006381, allocations: 106.9 kB / 0.8804 GB, free: 3.52 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.322e-05/0.006405, allocations: 4.375 kB / 0.8804 GB, free: 3.516 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.052e-05/0.006435, allocations: 4.375 kB / 0.8805 GB, free: 3.512 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001392/0.006574, allocations: 60.53 kB / 0.8805 GB, free: 3.441 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/0.006592, allocations: 16.03 kB / 0.8805 GB, free: 3.426 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.006605, allocations: 8.375 kB / 0.8805 GB, free: 3.418 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.006609, allocations: 384 / 0.8805 GB, free: 3.418 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.44e-05/0.006653, allocations: 11.94 kB / 0.8805 GB, free: 3.406 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001744/0.006828, allocations: 113.3 kB / 0.8807 GB, free: 3.266 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002167/0.007044, allocations: 42.56 kB / 0.8807 GB, free: 3.215 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.5e-05/0.007089, allocations: 16.86 kB / 0.8807 GB, free: 3.195 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.322e-05/0.007113, allocations: 0 / 0.8807 GB, free: 3.195 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.04e-05/0.007153, allocations: 42.5 kB / 0.8807 GB, free: 3.145 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.007154, allocations: 0 / 0.8807 GB, free: 3.145 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0007437/0.007898, allocations: 233.2 kB / 0.881 GB, free: 2.883 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.213e-05/0.00795, allocations: 63.34 kB / 0.881 GB, free: 2.809 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.566e-05/0.008035, allocations: 93.86 kB / 0.8811 GB, free: 2.707 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.303e-05/0.008059, allocations: 25.7 kB / 0.8811 GB, free: 2.676 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.263e-05/0.008111, allocations: 80.14 kB / 0.8812 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.911e-05/0.00815, allocations: 27.78 kB / 0.8812 GB, free: 2.566 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.108e-05/0.008191, allocations: 17.72 kB / 0.8813 GB, free: 2.543 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001901/0.008381, allocations: 318.8 kB / 0.8816 GB, free: 2.223 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.833e-05/0.00841, allocations: 7.984 kB / 0.8816 GB, free: 2.215 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.698e-05/0.008437, allocations: 15.98 kB / 0.8816 GB, free: 2.199 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.822e-05/0.008505, allocations: 36.8 kB / 0.8816 GB, free: 2.16 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.008506, allocations: 4 kB / 0.8816 GB, free: 2.156 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001111/0.008617, allocations: 61.69 kB / 0.8817 GB, free: 2.09 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.008631, allocations: 4 kB / 0.8817 GB, free: 2.086 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.008635, allocations: 0 / 0.8817 GB, free: 2.086 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.008653, allocations: 0 / 0.8817 GB, free: 2.086 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000281/0.008934, allocations: 19.98 kB / 0.8817 GB, free: 2.066 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.008941, allocations: 3.938 kB / 0.8817 GB, free: 2.062 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.789e-05/0.008959, allocations: 0 / 0.8817 GB, free: 2.062 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.293e-06/0.008966, allocations: 4 kB / 0.8817 GB, free: 2.059 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 9.031e-05/0.009056, allocations: 109.8 kB / 0.8818 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.05e-05/0.009077, allocations: 15.95 kB / 0.8818 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001427/0.00922, allocations: 69.8 kB / 0.8819 GB, free: 1.855 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.009226, allocations: 4 kB / 0.8819 GB, free: 1.852 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.009232, allocations: 3.938 kB / 0.8819 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.009235, allocations: 0.5156 kB / 0.8819 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003371/0.009572, allocations: 263 kB / 0.8822 GB, free: 1.551 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.009573, allocations: 0 / 0.8822 GB, free: 1.551 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.423e-05/0.009638, allocations: 15.98 kB / 0.8822 GB, free: 1.535 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.00964, allocations: 0 / 0.8822 GB, free: 1.535 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.009649, allocations: 3.938 kB / 0.8822 GB, free: 1.531 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.009651, allocations: 4.219 kB / 0.8822 GB, free: 1.527 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.073e-06/0.009658, allocations: 8 kB / 0.8822 GB, free: 1.52 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002193/0.009877, allocations: 184.3 kB / 0.8824 GB, free: 1.32 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.221e-05/0.0099, allocations: 3.984 kB / 0.8824 GB, free: 1.316 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.899e-05/0.009919, allocations: 11.94 kB / 0.8824 GB, free: 1.305 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.935e-05/0.009988, allocations: 0 / 0.8824 GB, free: 1.305 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.146e-05/0.01001, allocations: 7.984 kB / 0.8824 GB, free: 1.297 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.01001, allocations: 0 / 0.8824 GB, free: 1.297 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.634e-05/0.01007, allocations: 79.28 kB / 0.8825 GB, free: 1.219 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.01007, allocations: 0 / 0.8825 GB, free: 1.219 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000255/0.01033, allocations: 19.94 kB / 0.8825 GB, free: 1.199 MB / 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.0002094/0.01054, allocations: 123.2 kB / 0.8826 GB, free: 1.066 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001112/0.01065, allocations: 31.94 kB / 0.8826 GB, free: 1.035 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.01065, allocations: 0 / 0.8826 GB, free: 1.035 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.269e-05/0.01068, allocations: 19.98 kB / 0.8827 GB, free: 1.016 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002302/0.01091, allocations: 10.98 kB / 0.8827 GB, free: 1.008 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004508/0.01136, allocations: 173.5 kB / 0.8828 GB, free: 0.8086 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.704e-05/0.01144, allocations: 67.2 kB / 0.8829 GB, free: 0.7227 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.121e-05/0.01147, allocations: 8.188 kB / 0.8829 GB, free: 0.7148 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.927e-05/0.0115, allocations: 8.5 kB / 0.8829 GB, free: 0.707 MB / 0.8386 GB Notification: Performance of SimCode: time 5.51e-07/0.0115, allocations: 0 / 0.8829 GB, free: 0.707 MB / 0.8386 GB Notification: Performance of Templates: time 0.003512/0.01501, allocations: 0.6777 MB / 0.8836 GB, free: 76 kB / 0.8386 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.592434003949165]