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.001708/0.001708, allocations: 79.36 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.002073/0.002073, allocations: 160.4 kB / 22.46 MB, free: 5.379 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.56/1.56, allocations: 177.1 MB / 202.8 MB, free: 9.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.049/3.049, allocations: 377.8 MB / 0.6221 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.9814 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.758e-05/3.904e-05, allocations: 6.219 kB / 0.9814 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.00306/0.003099, allocations: 1.488 MB / 0.9829 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00119/0.004289, allocations: 0.5526 MB / 0.9834 GB, free: 9.895 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.964e-05/0.004328, allocations: 4 kB / 0.9834 GB, free: 9.891 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.573e-05/0.004364, allocations: 7.922 kB / 0.9834 GB, free: 9.883 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.825e-05/0.004422, allocations: 11.86 kB / 0.9834 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006615/0.005084, allocations: 159.2 kB / 0.9836 GB, free: 9.715 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001018/0.005185, allocations: 51.78 kB / 0.9836 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.158e-05/0.005237, allocations: 0 / 0.9836 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 9.582e-05/0.005333, allocations: 39.95 kB / 0.9837 GB, free: 9.625 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.689e-05/0.00539, allocations: 23.91 kB / 0.9837 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.249e-05/0.005412, allocations: 4 kB / 0.9837 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000463/0.005875, allocations: 271.4 kB / 0.984 GB, free: 9.332 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.382e-05/0.005899, allocations: 7.938 kB / 0.984 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.888e-05/0.005938, allocations: 23.91 kB / 0.984 GB, free: 9.301 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003508/0.006289, allocations: 191.4 kB / 0.9842 GB, free: 9.113 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.006292, allocations: 0 / 0.9842 GB, free: 9.113 MB / 0.9356 GB Notification: Performance of FrontEnd: time 7.41e-07/0.006292, allocations: 0 / 0.9842 GB, free: 9.113 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.718e-06/0.006302, allocations: 0 / 0.9842 GB, free: 9.113 MB / 0.9356 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.0007008/0.007003, allocations: 325.8 kB / 0.9845 GB, free: 8.762 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.733e-05/0.00706, allocations: 12.03 kB / 0.9845 GB, free: 8.75 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.521e-05/0.007105, allocations: 4.938 kB / 0.9845 GB, free: 8.746 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/0.007253, allocations: 113.7 kB / 0.9846 GB, free: 8.609 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.591e-05/0.007289, allocations: 12.38 kB / 0.9846 GB, free: 8.598 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.888e-05/0.007318, allocations: 4.375 kB / 0.9846 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003387/0.007657, allocations: 145 kB / 0.9848 GB, free: 8.438 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.007671, allocations: 192 / 0.9848 GB, free: 8.438 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.007685, allocations: 384 / 0.9848 GB, free: 8.438 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.007691, allocations: 384 / 0.9848 GB, free: 8.438 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002576/0.007949, allocations: 59.83 kB / 0.9848 GB, free: 8.379 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005821/0.008531, allocations: 260.4 kB / 0.9851 GB, free: 8.094 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003202/0.008851, allocations: 74.53 kB / 0.9851 GB, free: 8.012 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001314/0.008983, allocations: 40.78 kB / 0.9852 GB, free: 7.969 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.851e-05/0.009001, allocations: 0 / 0.9852 GB, free: 7.969 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.221e-05/0.009043, allocations: 42.56 kB / 0.9852 GB, free: 7.918 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 9.61e-07/0.009044, allocations: 0 / 0.9852 GB, free: 7.918 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11): time 0.001837/0.01088, allocations: 0.4918 MB / 0.9857 GB, free: 7.371 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.575e-05/0.01094, allocations: 51.41 kB / 0.9858 GB, free: 7.309 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.01104, allocations: 113.8 kB / 0.9859 GB, free: 7.188 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.112e-05/0.01108, allocations: 25.7 kB / 0.9859 GB, free: 7.156 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.713e-05/0.01115, allocations: 92.03 kB / 0.986 GB, free: 7.062 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.406e-05/0.01121, allocations: 43.64 kB / 0.986 GB, free: 7.02 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.568e-05/0.01126, allocations: 25.72 kB / 0.986 GB, free: 6.988 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001849/0.01145, allocations: 322.8 kB / 0.9864 GB, free: 6.664 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001484/0.0116, allocations: 31.97 kB / 0.9864 GB, free: 6.633 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001383/0.01173, allocations: 31.98 kB / 0.9864 GB, free: 6.602 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002869/0.01202, allocations: 72.83 kB / 0.9865 GB, free: 6.527 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.01202, allocations: 0 / 0.9865 GB, free: 6.527 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000414/0.01244, allocations: 117.7 kB / 0.9866 GB, free: 6.406 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.01246, allocations: 4 kB / 0.9866 GB, free: 6.402 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.01247, allocations: 0 / 0.9866 GB, free: 6.402 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/0.01249, allocations: 3.938 kB / 0.9866 GB, free: 6.398 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001822/0.01267, allocations: 31.98 kB / 0.9866 GB, free: 6.367 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.896e-06/0.01268, allocations: 3.984 kB / 0.9866 GB, free: 6.363 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.306e-05/0.01275, allocations: 8 kB / 0.9866 GB, free: 6.355 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.839e-06/0.01276, allocations: 0 / 0.9866 GB, free: 6.355 MB / 0.9356 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.0001195/0.01288, allocations: 117.8 kB / 0.9868 GB, free: 6.23 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.601e-05/0.01292, allocations: 8.188 kB / 0.9868 GB, free: 6.223 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004222/0.01334, allocations: 129.7 kB / 0.9869 GB, free: 6.094 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.01335, allocations: 7.984 kB / 0.9869 GB, free: 6.086 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.01335, allocations: 0 / 0.9869 GB, free: 6.086 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.01336, allocations: 0 / 0.9869 GB, free: 6.086 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005961/0.01395, allocations: 334 kB / 0.9872 GB, free: 5.723 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.01395, allocations: 0 / 0.9872 GB, free: 5.723 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001586/0.01411, allocations: 27.92 kB / 0.9872 GB, free: 5.695 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.01412, allocations: 0 / 0.9872 GB, free: 5.695 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.805e-05/0.01413, allocations: 8 kB / 0.9872 GB, free: 5.688 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.01414, allocations: 0 / 0.9872 GB, free: 5.688 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.155e-06/0.01414, allocations: 3.984 kB / 0.9873 GB, free: 5.684 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006012/0.01474, allocations: 243.7 kB / 0.9875 GB, free: 5.43 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 1.453e-05/0.01475, allocations: 12.05 kB / 0.9875 GB, free: 5.418 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.977e-05/0.01477, allocations: 4 kB / 0.9875 GB, free: 5.414 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/0.0149, allocations: 4 kB / 0.9875 GB, free: 5.41 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.45e-05/0.01492, allocations: 7.984 kB / 0.9875 GB, free: 5.402 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.198e-05/0.01493, allocations: 15.88 kB / 0.9875 GB, free: 5.387 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.617e-05/0.01499, allocations: 83.27 kB / 0.9876 GB, free: 5.305 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/0.01499, allocations: 0 / 0.9876 GB, free: 5.305 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002922/0.01528, allocations: 39.81 kB / 0.9876 GB, free: 5.266 MB / 0.9356 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.0002728/0.01555, allocations: 131.1 kB / 0.9878 GB, free: 5.125 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003522/0.01591, allocations: 86.14 kB / 0.9879 GB, free: 5.043 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.01591, allocations: 0 / 0.9879 GB, free: 5.043 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001497/0.01606, allocations: 43.97 kB / 0.9879 GB, free: 5 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003142/0.01637, allocations: 10.06 kB / 0.9879 GB, free: 4.992 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006834/0.01706, allocations: 261.4 kB / 0.9882 GB, free: 4.711 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.532e-05/0.01714, allocations: 83.27 kB / 0.9882 GB, free: 4.609 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.856e-05/0.0172, allocations: 12.67 kB / 0.9882 GB, free: 4.594 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.607e-05/0.01725, allocations: 20.48 kB / 0.9883 GB, free: 4.574 MB / 0.9356 GB Notification: Performance of SimCode: time 3.91e-07/0.01725, allocations: 3.938 kB / 0.9883 GB, free: 4.57 MB / 0.9356 GB Notification: Performance of Templates: time 0.004926/0.02217, allocations: 1.141 MB / 0.9894 GB, free: 3.484 MB / 0.9356 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: 8.45991950109601]