Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_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.001768/0.001768, allocations: 86.45 kB / 19.29 MB, free: 2.207 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.002048/0.002048, allocations: 170.2 kB / 22.58 MB, free: 4.91 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.529/1.529, allocations: 177.1 MB / 202.9 MB, free: 9.105 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.95/2.95, allocations: 390.1 MB / 0.6342 GB, free: 15.91 MB / 0.6075 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.PowerLaw_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.PowerLaw_m_flow_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_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.PowerLaw_m_flow_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 3.938 kB / 1.002 GB, free: 5.18 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.435e-05/2.623e-05, allocations: 2.312 kB / 1.002 GB, free: 5.176 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2): time 0.002633/0.002659, allocations: 1.388 MB / 1.004 GB, free: 3.781 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001456/0.004115, allocations: 0.8676 MB / 1.004 GB, free: 2.91 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.015e-05/0.004155, allocations: 4 kB / 1.004 GB, free: 2.906 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 1.958e-05/0.004175, allocations: 3.938 kB / 1.004 GB, free: 2.902 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 5.942e-05/0.004234, allocations: 7.922 kB / 1.004 GB, free: 2.895 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008472/0.005081, allocations: 226.8 kB / 1.005 GB, free: 2.672 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001164/0.005198, allocations: 59.72 kB / 1.005 GB, free: 2.613 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.819e-05/0.005236, allocations: 3.984 kB / 1.005 GB, free: 2.609 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 6.648e-05/0.005302, allocations: 35.95 kB / 1.005 GB, free: 2.574 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.099e-05/0.005363, allocations: 19.91 kB / 1.005 GB, free: 2.555 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.6e-05/0.005379, allocations: 8 kB / 1.005 GB, free: 2.547 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006717/0.006051, allocations: 375.4 kB / 1.005 GB, free: 2.18 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.165e-05/0.006073, allocations: 7.984 kB / 1.005 GB, free: 2.172 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.845e-05/0.006111, allocations: 23.92 kB / 1.005 GB, free: 2.148 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0005053/0.006616, allocations: 303.2 kB / 1.005 GB, free: 1.852 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.006621, allocations: 3.984 kB / 1.005 GB, free: 1.848 MB / 0.9512 GB Notification: Performance of FrontEnd: time 7.51e-07/0.006622, allocations: 0 / 1.005 GB, free: 1.848 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.977e-06/0.006626, allocations: 0 / 1.005 GB, free: 1.848 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005487/0.007175, allocations: 353.3 kB / 1.006 GB, free: 1.469 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.007217, allocations: 15.98 kB / 1.006 GB, free: 1.453 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002625/0.00748, allocations: 24.88 kB / 1.006 GB, free: 1.43 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.007613, allocations: 117.7 kB / 1.006 GB, free: 1.289 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.358e-05/0.007636, allocations: 384 / 1.006 GB, free: 1.289 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.703e-05/0.007663, allocations: 8.375 kB / 1.006 GB, free: 1.281 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002331/0.007896, allocations: 109.6 kB / 1.006 GB, free: 1.156 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.007908, allocations: 192 / 1.006 GB, free: 1.156 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.007921, allocations: 384 / 1.006 GB, free: 1.156 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.007931, allocations: 8.359 kB / 1.006 GB, free: 1.148 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000147/0.008078, allocations: 35.91 kB / 1.006 GB, free: 1.113 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001942/0.008273, allocations: 129.2 kB / 1.006 GB, free: 0.957 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002839/0.008557, allocations: 86.41 kB / 1.006 GB, free: 0.8633 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.9e-05/0.008656, allocations: 32.84 kB / 1.006 GB, free: 0.8281 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.121e-05/0.008677, allocations: 4 kB / 1.006 GB, free: 0.8242 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.956e-05/0.008716, allocations: 30.56 kB / 1.006 GB, free: 0.7852 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.008717, allocations: 0 / 1.006 GB, free: 0.7852 MB / 0.9512 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: m_flow Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=11): time 0.006007/0.01472, allocations: 0.9679 MB / 1.007 GB, free: 15.76 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.407e-05/0.01477, allocations: 51.41 kB / 1.007 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/0.01488, allocations: 129.9 kB / 1.008 GB, free: 15.56 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.039e-05/0.01491, allocations: 25.7 kB / 1.008 GB, free: 15.53 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.087e-05/0.01497, allocations: 88.42 kB / 1.008 GB, free: 15.44 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.539e-05/0.01502, allocations: 39.64 kB / 1.008 GB, free: 15.4 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.413e-05/0.01512, allocations: 41.62 kB / 1.008 GB, free: 15.35 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001942/0.01531, allocations: 322.8 kB / 1.008 GB, free: 15.03 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002549/0.01556, allocations: 87.95 kB / 1.008 GB, free: 14.94 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002401/0.0158, allocations: 87.94 kB / 1.008 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004975/0.0163, allocations: 186.9 kB / 1.008 GB, free: 14.67 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.0163, allocations: 0 / 1.008 GB, free: 14.67 MB / 0.9669 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006463/0.01695, allocations: 237.5 kB / 1.009 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.01697, allocations: 4 kB / 1.009 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.645e-05/0.01698, allocations: 8 kB / 1.009 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.017, allocations: 0 / 1.009 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000313/0.01731, allocations: 31.91 kB / 1.009 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.01732, allocations: 4 kB / 1.009 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001946/0.01751, allocations: 11.98 kB / 1.009 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.466e-05/0.01754, allocations: 11.92 kB / 1.009 GB, free: 14.36 MB / 0.9669 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 (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001114/0.01765, allocations: 113.8 kB / 1.009 GB, free: 14.24 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.335e-05/0.01768, allocations: 7.953 kB / 1.009 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.633e-05/0.01773, allocations: 16.44 kB / 1.009 GB, free: 14.22 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.01773, allocations: 4 kB / 1.009 GB, free: 14.22 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.01774, allocations: 3.938 kB / 1.009 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.01774, allocations: 3.984 kB / 1.009 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008833/0.01862, allocations: 406 kB / 1.009 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.01863, allocations: 0 / 1.009 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003137/0.01894, allocations: 31.97 kB / 1.009 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.01894, allocations: 0 / 1.009 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.542e-05/0.01897, allocations: 7.922 kB / 1.009 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.01897, allocations: 4 kB / 1.009 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.618e-06/0.01897, allocations: 4 kB / 1.009 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000892/0.01987, allocations: 371.2 kB / 1.01 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 1.584e-05/0.01988, allocations: 7.984 kB / 1.01 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.299e-05/0.01992, allocations: 3.938 kB / 1.01 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002524/0.02017, allocations: 11.98 kB / 1.01 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.093e-05/0.02021, allocations: 7.984 kB / 1.01 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.291e-05/0.02024, allocations: 12.05 kB / 1.01 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.416e-05/0.02031, allocations: 91.27 kB / 1.01 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.02031, allocations: 0 / 1.01 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003137/0.02062, allocations: 43.94 kB / 1.01 GB, free: 13.18 MB / 0.9669 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.0002299/0.02085, allocations: 111.2 kB / 1.01 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0006026/0.02145, allocations: 201.5 kB / 1.01 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.02145, allocations: 0 / 1.01 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002459/0.0217, allocations: 79.94 kB / 1.01 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003754/0.02208, allocations: 12 kB / 1.01 GB, free: 12.76 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001571/0.02365, allocations: 397.6 kB / 1.011 GB, free: 12.35 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.252e-05/0.02373, allocations: 75.33 kB / 1.011 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001403/0.02387, allocations: 24.72 kB / 1.011 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001058/0.02398, allocations: 16.48 kB / 1.011 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of SimCode: time 7.21e-07/0.02398, allocations: 0 / 1.011 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of Templates: time 0.006562/0.03054, allocations: 2.312 MB / 1.013 GB, free: 9.949 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_m_flow_DerivativeCheck2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_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.315573561936617]