Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_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.002334/0.002334, allocations: 104.3 kB / 19.72 MB, free: 420 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.002098/0.002098, allocations: 224.2 kB / 23.03 MB, free: 2.941 MB / 13.93 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.705/1.705, allocations: 230.6 MB / 256.8 MB, free: 9.633 MB / 202.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 3.253/3.253, allocations: 0.4898 GB / 0.7957 GB, free: 2.27 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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_dp_inv_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_dp_inv_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_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_dp_inv_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003879/0.003879, allocations: 79.88 kB / 1.155 GB, free: 124 kB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7953/0.7991, allocations: 176.3 MB / 1.327 GB, free: 9.344 MB / 1.01 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2): time 0.003064/0.8022, allocations: 1.318 MB / 1.329 GB, free: 8.02 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.001279/0.8035, allocations: 0.5733 MB / 1.329 GB, free: 7.445 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.846e-05/0.8035, allocations: 0 / 1.329 GB, free: 7.445 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 1.931e-05/0.8035, allocations: 0 / 1.329 GB, free: 7.445 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 5.517e-05/0.8036, allocations: 15.86 kB / 1.329 GB, free: 7.43 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006518/0.8043, allocations: 167.3 kB / 1.329 GB, free: 7.266 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.0001202/0.8044, allocations: 31.92 kB / 1.329 GB, free: 7.234 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 5.742e-05/0.8044, allocations: 0 / 1.329 GB, free: 7.234 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 3.249e-05/0.8045, allocations: 11.94 kB / 1.329 GB, free: 7.223 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 9.353e-05/0.8046, allocations: 11.98 kB / 1.329 GB, free: 7.211 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 2.646e-05/0.8046, allocations: 11.92 kB / 1.329 GB, free: 7.199 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006041/0.8052, allocations: 311.4 kB / 1.33 GB, free: 6.895 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 2.475e-05/0.8052, allocations: 7.984 kB / 1.33 GB, free: 6.887 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 4.358e-05/0.8053, allocations: 15.94 kB / 1.33 GB, free: 6.871 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0003484/0.8056, allocations: 146.4 kB / 1.33 GB, free: 6.73 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.8056, allocations: 0 / 1.33 GB, free: 6.73 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.974e-06/0.8056, allocations: 0 / 1.33 GB, free: 6.73 MB / 1.01 GB Notification: Performance of Transformations before backend: time 7.875e-06/0.8056, allocations: 0 / 1.33 GB, free: 6.73 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006073/0.8062, allocations: 301.8 kB / 1.33 GB, free: 6.402 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.8063, allocations: 8.031 kB / 1.33 GB, free: 6.395 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.039e-05/0.8063, allocations: 4.938 kB / 1.33 GB, free: 6.391 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001369/0.8065, allocations: 106.5 kB / 1.33 GB, free: 6.262 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.8065, allocations: 4.375 kB / 1.33 GB, free: 6.258 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.966e-05/0.8065, allocations: 12.38 kB / 1.33 GB, free: 6.246 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001881/0.8067, allocations: 97.64 kB / 1.33 GB, free: 6.133 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.8067, allocations: 4.188 kB / 1.33 GB, free: 6.129 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.802e-05/0.8067, allocations: 7.938 kB / 1.33 GB, free: 6.121 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.8067, allocations: 0 / 1.33 GB, free: 6.121 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.687e-05/0.8068, allocations: 19.98 kB / 1.33 GB, free: 6.102 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001956/0.807, allocations: 109.3 kB / 1.33 GB, free: 5.965 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001428/0.8071, allocations: 58.55 kB / 1.331 GB, free: 5.898 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.151e-05/0.8072, allocations: 24.86 kB / 1.331 GB, free: 5.871 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 2.268e-05/0.8072, allocations: 0 / 1.331 GB, free: 5.871 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.595e-05/0.8072, allocations: 38.55 kB / 1.331 GB, free: 5.824 MB / 1.01 GB Notification: Performance of pre-optimization done (n=7): time 9.02e-07/0.8073, allocations: 0 / 1.331 GB, free: 5.824 MB / 1.01 GB Notification: Performance of matching and sorting (n=11): time 0.001222/0.8085, allocations: 455.7 kB / 1.331 GB, free: 5.324 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.874e-05/0.8085, allocations: 51.41 kB / 1.331 GB, free: 5.262 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.469e-05/0.8086, allocations: 105.8 kB / 1.331 GB, free: 5.148 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.375e-05/0.8086, allocations: 25.7 kB / 1.331 GB, free: 5.117 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 5.309e-05/0.8087, allocations: 80.27 kB / 1.331 GB, free: 5.035 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 5.556e-05/0.8087, allocations: 47.69 kB / 1.331 GB, free: 4.988 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.832e-05/0.8088, allocations: 21.72 kB / 1.331 GB, free: 4.961 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.000185/0.809, allocations: 318.8 kB / 1.332 GB, free: 4.641 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.59e-05/0.809, allocations: 20 kB / 1.332 GB, free: 4.621 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.05e-05/0.8091, allocations: 21.23 kB / 1.332 GB, free: 4.602 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001086/0.8092, allocations: 66.41 kB / 1.332 GB, free: 4.535 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.8092, allocations: 0 / 1.332 GB, free: 4.535 MB / 1.01 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001518/0.8093, allocations: 93.64 kB / 1.332 GB, free: 4.438 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.8093, allocations: 7.938 kB / 1.332 GB, free: 4.43 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.8094, allocations: 0 / 1.332 GB, free: 4.43 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.8094, allocations: 11.94 kB / 1.332 GB, free: 4.418 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.8095, allocations: 23.98 kB / 1.332 GB, free: 4.395 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.8095, allocations: 0 / 1.332 GB, free: 4.395 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.539e-05/0.8095, allocations: 4.094 kB / 1.332 GB, free: 4.391 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.612e-06/0.8095, allocations: 3.938 kB / 1.332 GB, free: 4.387 MB / 1.01 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 9.998e-05/0.8096, allocations: 116.1 kB / 1.332 GB, free: 4.266 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.634e-05/0.8096, allocations: 7.938 kB / 1.332 GB, free: 4.258 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002158/0.8098, allocations: 113.5 kB / 1.332 GB, free: 4.137 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.8099, allocations: 4 kB / 1.332 GB, free: 4.133 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.8099, allocations: 0 / 1.332 GB, free: 4.133 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.8099, allocations: 4 kB / 1.332 GB, free: 4.129 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004361/0.8103, allocations: 294.1 kB / 1.332 GB, free: 3.805 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.8103, allocations: 7.938 kB / 1.332 GB, free: 3.797 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001061/0.8104, allocations: 19.98 kB / 1.332 GB, free: 3.777 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.8104, allocations: 4 kB / 1.332 GB, free: 3.773 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-06/0.8104, allocations: 0 / 1.332 GB, free: 3.773 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.8104, allocations: 0 / 1.332 GB, free: 3.773 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.8104, allocations: 0 / 1.332 GB, free: 3.773 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002917/0.8107, allocations: 227.6 kB / 1.333 GB, free: 3.535 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 8.776e-06/0.8107, allocations: 4.031 kB / 1.333 GB, free: 3.531 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.53e-05/0.8107, allocations: 0 / 1.333 GB, free: 3.531 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.464e-05/0.8108, allocations: 8.062 kB / 1.333 GB, free: 3.523 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.785e-05/0.8109, allocations: 11.92 kB / 1.333 GB, free: 3.512 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/0.8109, allocations: 4 kB / 1.333 GB, free: 3.508 MB / 1.01 GB Notification: Performance of sorting global known variables: time 5.773e-05/0.8109, allocations: 75.28 kB / 1.333 GB, free: 3.434 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.8109, allocations: 0 / 1.333 GB, free: 3.434 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0002937/0.8112, allocations: 55.8 kB / 1.333 GB, free: 3.379 MB / 1.01 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.0002917/0.8115, allocations: 155 kB / 1.333 GB, free: 3.219 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0001723/0.8117, allocations: 63.84 kB / 1.333 GB, free: 3.156 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.8117, allocations: 4.094 kB / 1.333 GB, free: 3.152 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 4.734e-05/0.8117, allocations: 28 kB / 1.333 GB, free: 3.125 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002295/0.812, allocations: 11.92 kB / 1.333 GB, free: 3.113 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006717/0.8126, allocations: 291 kB / 1.333 GB, free: 2.805 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.615e-05/0.8127, allocations: 71.34 kB / 1.333 GB, free: 2.715 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 5.006e-05/0.8128, allocations: 16 kB / 1.333 GB, free: 2.699 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.931e-05/0.8128, allocations: 11.44 kB / 1.333 GB, free: 2.688 MB / 1.01 GB Notification: Performance of SimCode: time 4.71e-07/0.8128, allocations: 0 / 1.333 GB, free: 2.688 MB / 1.01 GB Notification: Performance of Templates: time 0.004757/0.8175, allocations: 1.228 MB / 1.335 GB, free: 1.508 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.230153433047235]