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.002027/0.002027, 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.002488/0.002488, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.59/1.59, allocations: 177.1 MB / 203.1 MB, free: 5.582 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.437/3.437, 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_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.853e-06/1.853e-06, allocations: 0 / 0.8776 GB, free: 6.422 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.745e-05/2.931e-05, allocations: 2.844 kB / 0.8776 GB, free: 6.418 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.003993/0.004023, allocations: 1.512 MB / 0.8791 GB, free: 4.922 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00157/0.005593, allocations: 0.5653 MB / 0.8796 GB, free: 4.359 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.308e-05/0.005636, allocations: 0 / 0.8796 GB, free: 4.359 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.728e-05/0.005673, allocations: 4.969 kB / 0.8796 GB, free: 4.355 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.433e-05/0.005738, allocations: 3.938 kB / 0.8796 GB, free: 4.352 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008887/0.006626, allocations: 169.3 kB / 0.8798 GB, free: 4.188 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001297/0.006756, allocations: 51.83 kB / 0.8799 GB, free: 4.137 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.832e-05/0.006794, allocations: 0 / 0.8799 GB, free: 4.137 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001314/0.006926, allocations: 41.08 kB / 0.8799 GB, free: 4.098 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.297e-05/0.006989, allocations: 15.92 kB / 0.8799 GB, free: 4.082 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.242e-05/0.007011, allocations: 4 kB / 0.8799 GB, free: 4.078 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007382/0.007749, allocations: 280.3 kB / 0.8802 GB, free: 3.805 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.078e-05/0.00778, allocations: 7.984 kB / 0.8802 GB, free: 3.797 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.782e-05/0.007838, allocations: 19.92 kB / 0.8802 GB, free: 3.777 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004077/0.008246, allocations: 192.1 kB / 0.8804 GB, free: 3.59 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.008249, allocations: 0 / 0.8804 GB, free: 3.59 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.42e-07/0.00825, allocations: 1.656 kB / 0.8804 GB, free: 3.59 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.008255, allocations: 0 / 0.8804 GB, free: 3.59 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.0008511/0.009106, allocations: 317.9 kB / 0.8807 GB, free: 3.246 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/0.009157, allocations: 12.53 kB / 0.8807 GB, free: 3.234 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.604e-05/0.009243, allocations: 14.77 kB / 0.8807 GB, free: 3.223 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001792/0.009422, allocations: 117.7 kB / 0.8808 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.841e-05/0.00946, allocations: 4.375 kB / 0.8808 GB, free: 3.078 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.234e-05/0.009503, allocations: 12.33 kB / 0.8809 GB, free: 3.066 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003059/0.009808, allocations: 127 kB / 0.881 GB, free: 2.926 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.009823, allocations: 8.125 kB / 0.881 GB, free: 2.918 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.535e-05/0.009838, allocations: 4.375 kB / 0.881 GB, free: 2.914 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.009842, allocations: 384 / 0.881 GB, free: 2.914 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003543/0.0102, allocations: 53.08 kB / 0.881 GB, free: 2.863 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007211/0.01092, allocations: 261.9 kB / 0.8813 GB, free: 2.578 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004165/0.01133, allocations: 74.53 kB / 0.8814 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001709/0.0115, allocations: 35.25 kB / 0.8814 GB, free: 2.461 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.596e-05/0.01153, allocations: 0 / 0.8814 GB, free: 2.461 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.437e-05/0.01158, allocations: 38.5 kB / 0.8814 GB, free: 2.414 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.01158, allocations: 0 / 0.8814 GB, free: 2.414 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11): time 0.002319/0.0139, allocations: 0.5054 MB / 0.8819 GB, free: 1.855 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.046e-05/0.01396, allocations: 55.41 kB / 0.882 GB, free: 1.789 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001273/0.01408, allocations: 97.84 kB / 0.8821 GB, free: 1.684 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.568e-05/0.01412, allocations: 29.7 kB / 0.8821 GB, free: 1.648 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.321e-05/0.0142, allocations: 88.25 kB / 0.8822 GB, free: 1.559 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.32e-05/0.01427, allocations: 43.67 kB / 0.8822 GB, free: 1.516 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.432e-05/0.01434, allocations: 29.7 kB / 0.8822 GB, free: 1.48 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002161/0.01456, allocations: 318.8 kB / 0.8826 GB, free: 1.16 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001869/0.01474, allocations: 31.97 kB / 0.8826 GB, free: 1.129 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001832/0.01493, allocations: 39.48 kB / 0.8826 GB, free: 1.094 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003912/0.01532, allocations: 72.89 kB / 0.8827 GB, free: 1.02 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.01532, allocations: 0 / 0.8827 GB, free: 1.02 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004947/0.01581, allocations: 125.8 kB / 0.8828 GB, free: 0.8906 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.01583, allocations: 7.984 kB / 0.8828 GB, free: 0.8828 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.01584, allocations: 0 / 0.8828 GB, free: 0.8828 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.274e-05/0.01586, allocations: 4 kB / 0.8828 GB, free: 0.8789 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001772/0.01604, allocations: 35.91 kB / 0.8829 GB, free: 0.8438 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.01604, allocations: 4 kB / 0.8829 GB, free: 0.8398 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.65e-05/0.01611, allocations: 4 kB / 0.8829 GB, free: 0.8359 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.266e-06/0.01612, allocations: 0 / 0.8829 GB, free: 0.8359 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 (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.0001078/0.01623, allocations: 125.8 kB / 0.883 GB, free: 0.7031 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.163e-05/0.01627, allocations: 11.95 kB / 0.883 GB, free: 0.6914 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004019/0.01667, allocations: 121.7 kB / 0.8831 GB, free: 0.5664 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.01667, allocations: 0 / 0.8831 GB, free: 0.5664 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.01668, allocations: 4 kB / 0.8831 GB, free: 0.5625 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.01668, allocations: 7.984 kB / 0.8831 GB, free: 0.5547 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006257/0.01731, allocations: 322 kB / 0.8834 GB, free: 208 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.01731, allocations: 0 / 0.8834 GB, free: 208 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001547/0.01746, allocations: 27.97 kB / 0.8835 GB, free: 180 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.01747, allocations: 0 / 0.8835 GB, free: 180 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.01748, allocations: 0 / 0.8835 GB, free: 180 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.753e-06/0.01748, allocations: 7.938 kB / 0.8835 GB, free: 172 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.01749, allocations: 0 / 0.8835 GB, free: 172 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006055/0.01809, allocations: 255.4 kB / 0.8837 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.261e-05/0.0181, allocations: 3.953 kB / 0.8837 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.01812, allocations: 0 / 0.8837 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001265/0.01825, allocations: 19.95 kB / 0.8837 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.093e-05/0.01827, allocations: 3.984 kB / 0.8837 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.01828, allocations: 4 kB / 0.8837 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.832e-05/0.01834, allocations: 83.28 kB / 0.8838 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01834, allocations: 0 / 0.8838 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003119/0.01865, allocations: 43.81 kB / 0.8839 GB, free: 15.75 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.0002903/0.01894, allocations: 139.1 kB / 0.884 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003407/0.01928, allocations: 75.95 kB / 0.8841 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.01928, allocations: 0 / 0.8841 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001465/0.01943, allocations: 43.91 kB / 0.8841 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003259/0.01976, allocations: 11.94 kB / 0.8841 GB, free: 15.47 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007569/0.02051, allocations: 269.1 kB / 0.8844 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.918e-05/0.0206, allocations: 83.08 kB / 0.8845 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.846e-05/0.02067, allocations: 20.73 kB / 0.8845 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.521e-05/0.02071, allocations: 16.5 kB / 0.8845 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of SimCode: time 5.01e-07/0.02072, allocations: 8 kB / 0.8845 GB, free: 15.03 MB / 0.8542 GB Notification: Performance of Templates: time 0.004752/0.02547, allocations: 1.155 MB / 0.8856 GB, free: 13.94 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.609049806022085]