Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_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.001095/0.001095, allocations: 76.17 kB / 9.9 MB, free: 0.7891 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001534/0.002629, allocations: 445.7 kB / 10.34 MB, free: 364 kB / 10.45 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.001069/0.001069, allocations: 149.2 kB / 11.22 MB, free: 2.953 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001348/0.002417, allocations: 471.6 kB / 11.68 MB, free: 2.488 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 0.8989/0.8989, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08087/0.9798, allocations: 53.66 MB / 243.2 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] 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 1.768/1.768, allocations: 378.2 MB / 0.6076 GB, free: 7.828 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4197/2.188, allocations: 123.3 MB / 0.728 GB, free: 5.836 MB / 0.698 GB " [Timeout remaining time 178] 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_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.7293 GB, free: 4.539 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.993e-05/2.164e-05, allocations: 4.094 kB / 0.7293 GB, free: 4.535 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck): time 0.002283/0.002304, allocations: 1.393 MB / 0.7307 GB, free: 3.156 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0009223/0.003227, allocations: 0.6116 MB / 0.7313 GB, free: 2.559 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.896e-05/0.003245, allocations: 0 / 0.7313 GB, free: 2.559 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 9.107e-06/0.003255, allocations: 0 / 0.7313 GB, free: 2.559 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 2.519e-05/0.00328, allocations: 5.516 kB / 0.7313 GB, free: 2.555 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004417/0.003721, allocations: 152.6 kB / 0.7314 GB, free: 2.418 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 6.447e-05/0.003786, allocations: 14.02 kB / 0.7314 GB, free: 2.406 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.097e-05/0.003827, allocations: 7.984 kB / 0.7314 GB, free: 2.398 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 6.922e-05/0.003896, allocations: 28.38 kB / 0.7315 GB, free: 2.371 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.946e-05/0.003946, allocations: 4.938 kB / 0.7315 GB, free: 2.367 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.2e-05/0.003958, allocations: 0 / 0.7315 GB, free: 2.367 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005082/0.004466, allocations: 323.3 kB / 0.7318 GB, free: 2.051 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.3e-05/0.004479, allocations: 8.531 kB / 0.7318 GB, free: 2.043 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.727e-05/0.004496, allocations: 8.75 kB / 0.7318 GB, free: 2.035 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002506/0.004747, allocations: 123.7 kB / 0.7319 GB, free: 1.914 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.669e-05/0.004763, allocations: 0.5 kB / 0.7319 GB, free: 1.914 MB / 0.698 GB Notification: Performance of FrontEnd: time 7.61e-07/0.004764, allocations: 0 / 0.7319 GB, free: 1.914 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.39e-05/0.004778, allocations: 5.188 kB / 0.7319 GB, free: 1.91 MB / 0.698 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.000405/0.005183, allocations: 280.2 kB / 0.7322 GB, free: 1.609 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.005219, allocations: 8.031 kB / 0.7322 GB, free: 1.602 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.388e-05/0.005253, allocations: 1.781 kB / 0.7322 GB, free: 1.602 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.372e-05/0.005347, allocations: 121.7 kB / 0.7323 GB, free: 1.457 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-06/0.005356, allocations: 0.9062 kB / 0.7323 GB, free: 1.457 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.652e-05/0.005383, allocations: 4.375 kB / 0.7323 GB, free: 1.453 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.936e-05/0.005472, allocations: 61.67 kB / 0.7324 GB, free: 1.383 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.005479, allocations: 192 / 0.7324 GB, free: 1.383 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.005488, allocations: 4.375 kB / 0.7324 GB, free: 1.379 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.005494, allocations: 4.375 kB / 0.7324 GB, free: 1.375 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.551e-05/0.00552, allocations: 12.69 kB / 0.7324 GB, free: 1.363 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.631e-05/0.005616, allocations: 60.98 kB / 0.7324 GB, free: 1.289 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001593/0.005775, allocations: 39.88 kB / 0.7325 GB, free: 1.242 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.492e-05/0.0058, allocations: 12.94 kB / 0.7325 GB, free: 1.227 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.708e-05/0.005817, allocations: 4.781 kB / 0.7325 GB, free: 1.223 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/0.005843, allocations: 38.56 kB / 0.7325 GB, free: 1.176 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.005844, allocations: 1.531 kB / 0.7325 GB, free: 1.176 MB / 0.698 GB Notification: Performance of matching and sorting (n=6): time 0.0005394/0.006384, allocations: 225.1 kB / 0.7328 GB, free: 0.9219 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.232e-05/0.006406, allocations: 52.28 kB / 0.7328 GB, free: 0.8594 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.794e-05/0.006464, allocations: 102.7 kB / 0.7329 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.364e-05/0.006478, allocations: 29.7 kB / 0.7329 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.504e-05/0.006503, allocations: 85.05 kB / 0.733 GB, free: 0.625 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.778e-05/0.00653, allocations: 23.8 kB / 0.733 GB, free: 0.6016 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.214e-05/0.006563, allocations: 23.45 kB / 0.7331 GB, free: 0.5742 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.446e-05/0.006647, allocations: 322.8 kB / 0.7334 GB, free: 256 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.284e-05/0.00666, allocations: 4 kB / 0.7334 GB, free: 252 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.162e-05/0.006671, allocations: 4.062 kB / 0.7334 GB, free: 248 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.251e-05/0.006714, allocations: 32.97 kB / 0.7334 GB, free: 212 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.006715, allocations: 0.5 kB / 0.7334 GB, free: 212 kB / 0.698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 6.747e-05/0.006782, allocations: 50.72 kB / 0.7335 GB, free: 156 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.006795, allocations: 8 kB / 0.7335 GB, free: 148 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.006799, allocations: 0 / 0.7335 GB, free: 148 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.506e-06/0.006808, allocations: 0.625 kB / 0.7335 GB, free: 148 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.806e-05/0.006866, allocations: 19.98 kB / 0.7335 GB, free: 128 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.517e-06/0.006869, allocations: 1.125 kB / 0.7335 GB, free: 128 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.52e-05/0.006884, allocations: 0 / 0.7335 GB, free: 128 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.00689, allocations: 3.938 kB / 0.7335 GB, free: 124 kB / 0.698 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 5.543e-05/0.006946, allocations: 110.6 kB / 0.7336 GB, free: 4 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.797e-05/0.006974, allocations: 9.203 kB / 0.7336 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.806e-05/0.007072, allocations: 57.69 kB / 0.7337 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.007075, allocations: 0 / 0.7337 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.007076, allocations: 1.25 kB / 0.7337 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.541e-06/0.007081, allocations: 0 / 0.7337 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.211e-05/0.007114, allocations: 7.938 kB / 0.7337 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.05e-05/0.007124, allocations: 3.984 kB / 0.7337 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.212e-05/0.007156, allocations: 9.031 kB / 0.7337 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.226e-05/0.007168, allocations: 3.938 kB / 0.7337 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001087/0.007277, allocations: 129.5 kB / 0.7338 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00015/0.007427, allocations: 232.3 kB / 0.734 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.826e-05/0.007455, allocations: 17.05 kB / 0.734 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.6e-05/0.007471, allocations: 5.375 kB / 0.734 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of Backend: time 2.8e-07/0.007472, allocations: 0 / 0.734 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000422/0.007894, allocations: 161.2 kB / 0.7342 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of SimCode: time 0.0006364/0.00853, allocations: 0.6606 MB / 0.7348 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of Templates: time 0.003934/0.01246, allocations: 1.482 MB / 0.7363 GB, free: 13.29 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck.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: 4.500674432143569]