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.001461/0.001461, allocations: 80.92 kB / 19.18 MB, free: 2.516 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.001552/0.001552, allocations: 163.8 kB / 22.46 MB, free: 5.375 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.512/1.512, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 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 2.964/2.964, allocations: 389 MB / 0.633 GB, free: 1.012 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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 2.054e-06/2.054e-06, allocations: 0 / 1 GB, free: 7.305 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.639e-05/2.844e-05, allocations: 2.281 kB / 1 GB, free: 7.301 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002463/0.002491, allocations: 1.308 MB / 1.001 GB, free: 5.984 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.00107/0.003561, allocations: 0.5331 MB / 1.002 GB, free: 5.449 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.704e-05/0.003588, allocations: 0 / 1.002 GB, free: 5.449 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 1.995e-05/0.003608, allocations: 0 / 1.002 GB, free: 5.449 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 4.307e-05/0.003651, allocations: 7.922 kB / 1.002 GB, free: 5.441 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006557/0.004307, allocations: 158 kB / 1.002 GB, free: 5.289 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 6.035e-05/0.004367, allocations: 15.88 kB / 1.002 GB, free: 5.273 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.845e-05/0.004406, allocations: 7.984 kB / 1.002 GB, free: 5.266 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 6.117e-05/0.004467, allocations: 11.98 kB / 1.002 GB, free: 5.254 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 4.312e-05/0.00451, allocations: 7.984 kB / 1.002 GB, free: 5.246 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.351e-05/0.004524, allocations: 3.938 kB / 1.002 GB, free: 5.242 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005005/0.005024, allocations: 267.4 kB / 1.002 GB, free: 4.98 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.749e-05/0.005052, allocations: 3.984 kB / 1.002 GB, free: 4.977 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.241e-05/0.005074, allocations: 4 kB / 1.002 GB, free: 4.973 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002966/0.005371, allocations: 167.4 kB / 1.003 GB, free: 4.809 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.005374, allocations: 4 kB / 1.003 GB, free: 4.805 MB / 0.9512 GB Notification: Performance of FrontEnd: time 8.92e-07/0.005375, allocations: 0 / 1.003 GB, free: 4.805 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.526e-06/0.005378, allocations: 0 / 1.003 GB, free: 4.805 MB / 0.9512 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.0004247/0.005803, allocations: 282 kB / 1.003 GB, free: 4.496 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.005839, allocations: 12.03 kB / 1.003 GB, free: 4.484 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.857e-05/0.005878, allocations: 8.875 kB / 1.003 GB, free: 4.477 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.00599, allocations: 105.8 kB / 1.003 GB, free: 4.348 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.006003, allocations: 384 / 1.003 GB, free: 4.348 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.911e-05/0.006022, allocations: 4.375 kB / 1.003 GB, free: 4.344 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001304/0.006152, allocations: 63.95 kB / 1.003 GB, free: 4.27 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.00616, allocations: 192 / 1.003 GB, free: 4.27 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.006173, allocations: 12.36 kB / 1.003 GB, free: 4.258 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.006177, allocations: 384 / 1.003 GB, free: 4.258 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.083e-05/0.006218, allocations: 15.88 kB / 1.003 GB, free: 4.242 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001616/0.00638, allocations: 105.3 kB / 1.003 GB, free: 4.109 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001925/0.006572, allocations: 42.61 kB / 1.003 GB, free: 4.059 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.465e-05/0.006607, allocations: 16.86 kB / 1.003 GB, free: 4.039 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.879e-05/0.006625, allocations: 0 / 1.003 GB, free: 4.039 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.113e-05/0.006657, allocations: 38.64 kB / 1.003 GB, free: 3.992 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.006658, allocations: 0 / 1.003 GB, free: 3.992 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6): time 0.0005798/0.007237, allocations: 233.1 kB / 1.003 GB, free: 3.73 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.306e-05/0.007291, allocations: 63.28 kB / 1.004 GB, free: 3.656 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.874e-05/0.007359, allocations: 97.86 kB / 1.004 GB, free: 3.551 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.007378, allocations: 25.7 kB / 1.004 GB, free: 3.52 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.714e-05/0.007425, allocations: 88.12 kB / 1.004 GB, free: 3.43 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.93e-05/0.007454, allocations: 19.86 kB / 1.004 GB, free: 3.41 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.921e-05/0.007493, allocations: 17.72 kB / 1.004 GB, free: 3.387 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.007636, allocations: 318.8 kB / 1.004 GB, free: 3.066 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.575e-05/0.007661, allocations: 8.062 kB / 1.004 GB, free: 3.059 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.824e-05/0.00769, allocations: 16 kB / 1.004 GB, free: 3.043 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.649e-05/0.007756, allocations: 40.98 kB / 1.004 GB, free: 3 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.007757, allocations: 4 kB / 1.004 GB, free: 2.996 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001098/0.007867, allocations: 57.69 kB / 1.004 GB, free: 2.934 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.007885, allocations: 14.17 kB / 1.004 GB, free: 2.922 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.007889, allocations: 3.938 kB / 1.004 GB, free: 2.918 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.007902, allocations: 0 / 1.004 GB, free: 2.918 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.138e-05/0.007953, allocations: 8 kB / 1.004 GB, free: 2.91 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.176e-06/0.007961, allocations: 11.88 kB / 1.004 GB, free: 2.898 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.758e-05/0.007979, allocations: 0 / 1.004 GB, free: 2.898 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.007986, allocations: 4 kB / 1.004 GB, free: 2.895 MB / 0.9512 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.445e-05/0.00807, allocations: 110.4 kB / 1.004 GB, free: 2.777 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.32e-05/0.008084, allocations: 7.953 kB / 1.004 GB, free: 2.77 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001476/0.008231, allocations: 73.8 kB / 1.004 GB, free: 2.691 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.008233, allocations: 3.938 kB / 1.004 GB, free: 2.688 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.008239, allocations: 3.938 kB / 1.004 GB, free: 2.684 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.008242, allocations: 0 / 1.004 GB, free: 2.684 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003188/0.008561, allocations: 255.1 kB / 1.005 GB, free: 2.395 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.008562, allocations: 0 / 1.005 GB, free: 2.395 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.101e-05/0.008633, allocations: 20.45 kB / 1.005 GB, free: 2.375 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.008635, allocations: 0 / 1.005 GB, free: 2.375 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.008645, allocations: 3.938 kB / 1.005 GB, free: 2.371 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.008646, allocations: 4.031 kB / 1.005 GB, free: 2.367 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.008647, allocations: 4 kB / 1.005 GB, free: 2.363 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001968/0.008844, allocations: 172.5 kB / 1.005 GB, free: 2.176 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 2.553e-05/0.00887, allocations: 12.05 kB / 1.005 GB, free: 2.164 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.998e-05/0.00889, allocations: 11.92 kB / 1.005 GB, free: 2.152 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.839e-05/0.008968, allocations: 7.984 kB / 1.005 GB, free: 2.145 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.395e-05/0.008982, allocations: 0 / 1.005 GB, free: 2.145 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/0.008993, allocations: 7.938 kB / 1.005 GB, free: 2.137 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.631e-05/0.00904, allocations: 83.28 kB / 1.005 GB, free: 2.055 MB / 0.9512 GB Notification: Performance of sort global known variables: time 8e-08/0.00904, allocations: 0 / 1.005 GB, free: 2.055 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002576/0.009297, allocations: 23.86 kB / 1.005 GB, free: 2.031 MB / 0.9512 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.0001999/0.009497, allocations: 123.2 kB / 1.005 GB, free: 1.902 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001102/0.009607, allocations: 31.98 kB / 1.005 GB, free: 1.871 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.009609, allocations: 0 / 1.005 GB, free: 1.871 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 3.321e-05/0.009642, allocations: 19.94 kB / 1.005 GB, free: 1.852 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002174/0.00986, allocations: 0 / 1.005 GB, free: 1.852 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003824/0.01024, allocations: 173.6 kB / 1.005 GB, free: 1.652 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.269e-05/0.0103, allocations: 63.34 kB / 1.005 GB, free: 1.57 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.602e-05/0.01033, allocations: 4 kB / 1.005 GB, free: 1.566 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.371e-05/0.01035, allocations: 12.5 kB / 1.005 GB, free: 1.555 MB / 0.9512 GB Notification: Performance of SimCode: time 4.41e-07/0.01035, allocations: 3.938 kB / 1.005 GB, free: 1.551 MB / 0.9512 GB Notification: Performance of Templates: time 0.003579/0.01393, allocations: 0.6518 MB / 1.006 GB, free: 0.9375 MB / 0.9512 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.186336938291788]