Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001623/0.001623, allocations: 107.9 kB / 16.46 MB, free: 6.512 MB / 14.72 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.001782/0.001782, allocations: 208.3 kB / 19.43 MB, free: 3.648 MB / 14.72 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.526/1.526, allocations: 230.6 MB / 252.8 MB, free: 8.957 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.325/3.325, allocations: 0.4899 GB / 0.7915 GB, free: 33.45 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00209/0.00209, allocations: 66.11 kB / 1.149 GB, free: 26.03 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4151/0.4172, allocations: 176.1 MB / 1.321 GB, free: 2.812 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002583/0.4198, allocations: 1.297 MB / 1.323 GB, free: 1.504 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00113/0.4209, allocations: 0.6115 MB / 1.323 GB, free: 0.8906 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.798e-05/0.4209, allocations: 0 / 1.323 GB, free: 0.8906 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.283e-05/0.4209, allocations: 3.938 kB / 1.323 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.705e-05/0.421, allocations: 3.984 kB / 1.323 GB, free: 0.8828 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005632/0.4215, allocations: 155.3 kB / 1.323 GB, free: 0.7305 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.301e-05/0.4216, allocations: 15.88 kB / 1.323 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.327e-05/0.4217, allocations: 7.984 kB / 1.323 GB, free: 0.707 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.082e-05/0.4217, allocations: 8 kB / 1.323 GB, free: 0.6992 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.399e-05/0.4218, allocations: 15.86 kB / 1.323 GB, free: 0.6836 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.327e-05/0.4218, allocations: 0 / 1.323 GB, free: 0.6836 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005424/0.4223, allocations: 339.4 kB / 1.324 GB, free: 360 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.226e-05/0.4223, allocations: 3.984 kB / 1.324 GB, free: 356 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.566e-05/0.4224, allocations: 15.92 kB / 1.324 GB, free: 340 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000275/0.4226, allocations: 139.6 kB / 1.324 GB, free: 200 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.4226, allocations: 7.938 kB / 1.324 GB, free: 192 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.353e-06/0.4226, allocations: 0 / 1.324 GB, free: 192 kB / 1.014 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.4226, allocations: 0 / 1.324 GB, free: 192 kB / 1.014 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.0004991/0.4231, allocations: 363.1 kB / 1.324 GB, free: 15.78 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.4232, allocations: 11.98 kB / 1.324 GB, free: 15.77 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.644e-05/0.4232, allocations: 4.938 kB / 1.324 GB, free: 15.77 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.4234, allocations: 168.3 kB / 1.324 GB, free: 15.56 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.4234, allocations: 384 / 1.324 GB, free: 15.56 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.19e-05/0.4234, allocations: 8.375 kB / 1.324 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000122/0.4235, allocations: 38.25 kB / 1.324 GB, free: 15.51 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.605e-06/0.4235, allocations: 4.188 kB / 1.324 GB, free: 15.51 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.4235, allocations: 3.938 kB / 1.324 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.4235, allocations: 4 kB / 1.324 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.535e-05/0.4236, allocations: 11.98 kB / 1.324 GB, free: 15.49 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001964/0.4238, allocations: 161.7 kB / 1.325 GB, free: 15.28 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002311/0.424, allocations: 46.5 kB / 1.325 GB, free: 15.23 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.603e-05/0.4241, allocations: 16.86 kB / 1.325 GB, free: 15.21 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.825e-05/0.4241, allocations: 4 kB / 1.325 GB, free: 15.2 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.4241, allocations: 30.56 kB / 1.325 GB, free: 15.16 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.4241, allocations: 0 / 1.325 GB, free: 15.16 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0007062/0.4248, allocations: 314.6 kB / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.429e-05/0.4249, allocations: 59.41 kB / 1.325 GB, free: 14.73 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.613e-05/0.4249, allocations: 97.86 kB / 1.325 GB, free: 14.63 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.4249, allocations: 25.7 kB / 1.325 GB, free: 14.6 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.349e-05/0.425, allocations: 84.14 kB / 1.325 GB, free: 14.51 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.342e-05/0.425, allocations: 19.78 kB / 1.325 GB, free: 14.49 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.789e-05/0.4251, allocations: 21.72 kB / 1.325 GB, free: 14.46 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.4252, allocations: 318.8 kB / 1.326 GB, free: 14.14 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.935e-05/0.4253, allocations: 15.88 kB / 1.326 GB, free: 14.13 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.08e-05/0.4253, allocations: 8 kB / 1.326 GB, free: 14.12 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.416e-05/0.4254, allocations: 44.78 kB / 1.326 GB, free: 14.07 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.22e-07/0.4254, allocations: 0 / 1.326 GB, free: 14.07 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001036/0.4255, allocations: 61.69 kB / 1.326 GB, free: 14.01 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.4255, allocations: 7.938 kB / 1.326 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.4255, allocations: 0 / 1.326 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.4255, allocations: 7.984 kB / 1.326 GB, free: 13.99 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.314e-05/0.4255, allocations: 11.94 kB / 1.326 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.4255, allocations: 240 / 1.326 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.142e-05/0.4256, allocations: 4 kB / 1.326 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.4256, allocations: 7.984 kB / 1.326 GB, free: 13.97 MB / 1.029 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 8.633e-05/0.4257, allocations: 109.8 kB / 1.326 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.869e-05/0.4257, allocations: 11.89 kB / 1.326 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001537/0.4258, allocations: 73.64 kB / 1.326 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.4258, allocations: 0 / 1.326 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.4258, allocations: 0 / 1.326 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.4259, allocations: 4 kB / 1.326 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003885/0.4262, allocations: 311.4 kB / 1.326 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.4262, allocations: 0 / 1.326 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.332e-05/0.4263, allocations: 16.2 kB / 1.326 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.4263, allocations: 4 kB / 1.326 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/0.4263, allocations: 4 kB / 1.326 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.4263, allocations: 3.938 kB / 1.326 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.4263, allocations: 0 / 1.326 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000213/0.4265, allocations: 184.3 kB / 1.326 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.167e-05/0.4266, allocations: 77.11 kB / 1.326 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.757e-05/0.4266, allocations: 12.06 kB / 1.326 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.012e-05/0.4267, allocations: 0 / 1.326 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.909e-05/0.4267, allocations: 7.984 kB / 1.326 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.4267, allocations: 0 / 1.326 GB, free: 13.05 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.53e-05/0.4268, allocations: 79.28 kB / 1.327 GB, free: 12.97 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4268, allocations: 0 / 1.327 GB, free: 12.97 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002479/0.427, allocations: 19.94 kB / 1.327 GB, free: 12.95 MB / 1.029 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.0002216/0.4272, allocations: 131 kB / 1.327 GB, free: 12.81 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001113/0.4273, allocations: 35.98 kB / 1.327 GB, free: 12.78 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4273, allocations: 3.938 kB / 1.327 GB, free: 12.77 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.063e-05/0.4274, allocations: 23.86 kB / 1.327 GB, free: 12.75 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002169/0.4276, allocations: 7.938 kB / 1.327 GB, free: 12.74 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004567/0.428, allocations: 203.7 kB / 1.327 GB, free: 12.52 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003494/0.4284, allocations: 0.6845 MB / 1.328 GB, free: 11.81 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.488e-05/0.4284, allocations: 3.938 kB / 1.328 GB, free: 11.8 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.005e-05/0.4284, allocations: 11.44 kB / 1.328 GB, free: 11.79 MB / 1.029 GB Notification: Performance of SimCode: time 3.4e-07/0.4284, allocations: 4 kB / 1.328 GB, free: 11.79 MB / 1.029 GB Notification: Performance of Templates: time 0.00335/0.4318, allocations: 0.6582 MB / 1.328 GB, free: 11.16 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.259146864060313]