Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001655/0.001655, allocations: 108.2 kB / 16.45 MB, free: 6.5 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.001727/0.001727, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.504/1.504, allocations: 230.6 MB / 252.8 MB, free: 8.949 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.315/3.315, allocations: 0.49 GB / 0.7915 GB, free: 33.28 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_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp|der.dp.|der.dp_comp.",fileNamePrefix="Buildings_12_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_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") [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.002098/0.002098, allocations: 71.48 kB / 1.149 GB, free: 26.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3747/0.3768, allocations: 176.1 MB / 1.321 GB, free: 2.762 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.0028/0.3796, allocations: 1.491 MB / 1.323 GB, free: 1.262 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001192/0.3808, allocations: 0.6344 MB / 1.323 GB, free: 0.625 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.684e-05/0.3809, allocations: 0 / 1.323 GB, free: 0.625 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.745e-05/0.3809, allocations: 7.922 kB / 1.323 GB, free: 0.6172 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.781e-05/0.3809, allocations: 3.938 kB / 1.323 GB, free: 0.6133 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005787/0.3815, allocations: 159.4 kB / 1.324 GB, free: 468 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.993e-05/0.3816, allocations: 47.91 kB / 1.324 GB, free: 420 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.624e-05/0.3817, allocations: 3.984 kB / 1.324 GB, free: 416 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.613e-05/0.3817, allocations: 23.92 kB / 1.324 GB, free: 392 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.846e-05/0.3818, allocations: 27.86 kB / 1.324 GB, free: 364 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.399e-05/0.3818, allocations: 4 kB / 1.324 GB, free: 360 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004937/0.3823, allocations: 347.3 kB / 1.324 GB, free: 12 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.744e-05/0.3823, allocations: 11.98 kB / 1.324 GB, free: 0 / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.695e-05/0.3823, allocations: 31.89 kB / 1.324 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002781/0.3826, allocations: 175.3 kB / 1.324 GB, free: 15.79 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.3826, allocations: 7.938 kB / 1.324 GB, free: 15.79 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.032e-06/0.3826, allocations: 0 / 1.324 GB, free: 15.79 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.71e-06/0.3826, allocations: 0 / 1.324 GB, free: 15.79 MB / 1.029 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.0006695/0.3833, allocations: 398.9 kB / 1.325 GB, free: 15.34 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.3833, allocations: 12.03 kB / 1.325 GB, free: 15.33 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.364e-05/0.3834, allocations: 8.891 kB / 1.325 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001411/0.3835, allocations: 172.3 kB / 1.325 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.713e-05/0.3835, allocations: 8.375 kB / 1.325 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.405e-05/0.3836, allocations: 8.328 kB / 1.325 GB, free: 15.1 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002357/0.3838, allocations: 81.45 kB / 1.325 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.3838, allocations: 192 / 1.325 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/0.3838, allocations: 11.94 kB / 1.325 GB, free: 15.01 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.3838, allocations: 0 / 1.325 GB, free: 15.01 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002377/0.3841, allocations: 47.95 kB / 1.325 GB, free: 14.96 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000591/0.3847, allocations: 328.6 kB / 1.325 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002935/0.3849, allocations: 78.53 kB / 1.325 GB, free: 14.5 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001151/0.3851, allocations: 24.84 kB / 1.325 GB, free: 14.48 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.911e-05/0.3851, allocations: 16.08 kB / 1.325 GB, free: 14.46 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.861e-05/0.3851, allocations: 30.56 kB / 1.325 GB, free: 14.42 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.3851, allocations: 0 / 1.325 GB, free: 14.42 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.001697/0.3868, allocations: 0.6461 MB / 1.326 GB, free: 13.69 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.784e-05/0.3869, allocations: 55.41 kB / 1.326 GB, free: 13.62 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.213e-05/0.3869, allocations: 101.8 kB / 1.326 GB, free: 13.51 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.05e-05/0.387, allocations: 29.7 kB / 1.326 GB, free: 13.48 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.742e-05/0.387, allocations: 88.09 kB / 1.326 GB, free: 13.39 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.434e-05/0.3871, allocations: 43.67 kB / 1.326 GB, free: 13.34 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.854e-05/0.3871, allocations: 29.7 kB / 1.326 GB, free: 13.31 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.3873, allocations: 318.8 kB / 1.327 GB, free: 12.99 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001368/0.3874, allocations: 31.97 kB / 1.327 GB, free: 12.96 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001271/0.3875, allocations: 32.11 kB / 1.327 GB, free: 12.93 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002581/0.3878, allocations: 76.77 kB / 1.327 GB, free: 12.85 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.3878, allocations: 0 / 1.327 GB, free: 12.85 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003309/0.3881, allocations: 117.6 kB / 1.327 GB, free: 12.73 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.3881, allocations: 7.984 kB / 1.327 GB, free: 12.72 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.3881, allocations: 4 kB / 1.327 GB, free: 12.71 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.3882, allocations: 0 / 1.327 GB, free: 12.71 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001484/0.3883, allocations: 23.98 kB / 1.327 GB, free: 12.69 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.3883, allocations: 0 / 1.327 GB, free: 12.69 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.627e-05/0.3884, allocations: 11.94 kB / 1.327 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.869e-06/0.3884, allocations: 4 kB / 1.327 GB, free: 12.68 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 (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 0.0001003/0.3885, allocations: 125.8 kB / 1.327 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.224e-05/0.3885, allocations: 7.891 kB / 1.327 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003787/0.3889, allocations: 129.6 kB / 1.327 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.3889, allocations: 0 / 1.327 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.3889, allocations: 0 / 1.327 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.3889, allocations: 7.922 kB / 1.327 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005979/0.3895, allocations: 386.6 kB / 1.328 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3895, allocations: 0 / 1.328 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00015/0.3897, allocations: 27.98 kB / 1.328 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.3897, allocations: 0 / 1.328 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.505e-05/0.3897, allocations: 11.92 kB / 1.328 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3897, allocations: 0 / 1.328 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3897, allocations: 0 / 1.328 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005285/0.3902, allocations: 255.3 kB / 1.328 GB, free: 11.65 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.368e-05/0.3903, allocations: 85.09 kB / 1.328 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.816e-05/0.3903, allocations: 3.938 kB / 1.328 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001215/0.3904, allocations: 11.98 kB / 1.328 GB, free: 11.53 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.96e-05/0.3904, allocations: 8 kB / 1.328 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.3904, allocations: 4 kB / 1.328 GB, free: 11.52 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.072e-05/0.3905, allocations: 79.27 kB / 1.328 GB, free: 11.44 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3905, allocations: 0 / 1.328 GB, free: 11.44 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002828/0.3908, allocations: 43.94 kB / 1.328 GB, free: 11.4 MB / 1.029 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.0002217/0.391, allocations: 139 kB / 1.328 GB, free: 11.25 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003267/0.3913, allocations: 87.14 kB / 1.328 GB, free: 11.17 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3913, allocations: 0 / 1.328 GB, free: 11.17 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001494/0.3915, allocations: 43.91 kB / 1.328 GB, free: 11.13 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002938/0.3917, allocations: 8 kB / 1.328 GB, free: 11.12 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006529/0.3924, allocations: 321.5 kB / 1.329 GB, free: 10.78 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003311/0.3927, allocations: 0.6924 MB / 1.329 GB, free: 10.06 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.157e-05/0.3928, allocations: 16.59 kB / 1.329 GB, free: 10.05 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.162e-05/0.3928, allocations: 19.42 kB / 1.329 GB, free: 10.03 MB / 1.029 GB Notification: Performance of SimCode: time 2.8e-07/0.3928, allocations: 0 / 1.329 GB, free: 10.03 MB / 1.029 GB Notification: Performance of Templates: time 0.00377/0.3966, allocations: 1.145 MB / 1.33 GB, free: 8.922 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.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.001547661144286]