Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_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.0007744/0.0007744, allocations: 80.25 kB / 20.03 MB, free: 4.492 MB / 18.57 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.0007933/0.0007933, allocations: 173.9 kB / 23.34 MB, free: 1.184 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 0.9469/0.9469, allocations: 177.1 MB / 203.6 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] 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 1.895/1.895, allocations: 390.1 MB / 0.635 GB, free: 11.55 MB / 0.6042 GB " [Timeout remaining time 177] 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_dp_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 1.003 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.628e-05/2.784e-05, allocations: 2.312 kB / 1.003 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck): time 0.001771/0.001799, allocations: 1.375 MB / 1.004 GB, free: 9.438 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0009664/0.002765, allocations: 0.8607 MB / 1.005 GB, free: 8.574 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.72e-05/0.002803, allocations: 0 / 1.005 GB, free: 8.574 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.777e-05/0.00282, allocations: 7.938 kB / 1.005 GB, free: 8.566 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.824e-05/0.002869, allocations: 11.86 kB / 1.005 GB, free: 8.555 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004934/0.003362, allocations: 214.9 kB / 1.005 GB, free: 8.344 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.319e-05/0.003435, allocations: 47.77 kB / 1.005 GB, free: 8.297 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.692e-05/0.003482, allocations: 11.98 kB / 1.005 GB, free: 8.285 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 5.442e-05/0.003536, allocations: 19.98 kB / 1.005 GB, free: 8.266 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.94e-05/0.003586, allocations: 15.92 kB / 1.005 GB, free: 8.25 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.305e-05/0.003599, allocations: 8 kB / 1.005 GB, free: 8.242 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003761/0.003975, allocations: 383.4 kB / 1.006 GB, free: 7.867 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.522e-05/0.00399, allocations: 0 / 1.006 GB, free: 7.867 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.751e-05/0.004018, allocations: 19.92 kB / 1.006 GB, free: 7.848 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003147/0.004332, allocations: 303.1 kB / 1.006 GB, free: 7.551 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.004335, allocations: 0 / 1.006 GB, free: 7.551 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.62e-07/0.004336, allocations: 0 / 1.006 GB, free: 7.551 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.00434, allocations: 0 / 1.006 GB, free: 7.551 MB / 0.9636 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.0003623/0.004703, allocations: 345.3 kB / 1.006 GB, free: 7.18 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.004741, allocations: 12.03 kB / 1.007 GB, free: 7.168 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001672/0.004908, allocations: 20.91 kB / 1.007 GB, free: 7.148 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.87e-05/0.004987, allocations: 113.8 kB / 1.007 GB, free: 7.012 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.055e-05/0.005007, allocations: 4.375 kB / 1.007 GB, free: 7.008 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.005026, allocations: 384 / 1.007 GB, free: 7.008 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001326/0.005159, allocations: 75.94 kB / 1.007 GB, free: 6.922 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.732e-06/0.005165, allocations: 4.172 kB / 1.007 GB, free: 6.918 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.005175, allocations: 384 / 1.007 GB, free: 6.918 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.005181, allocations: 4.359 kB / 1.007 GB, free: 6.914 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.282e-05/0.005254, allocations: 31.86 kB / 1.007 GB, free: 6.883 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001171/0.005371, allocations: 117.2 kB / 1.007 GB, free: 6.738 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002061/0.005577, allocations: 66.58 kB / 1.007 GB, free: 6.664 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.83e-05/0.005626, allocations: 28.94 kB / 1.007 GB, free: 6.633 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.359e-05/0.005639, allocations: 0 / 1.007 GB, free: 6.633 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.959e-05/0.005659, allocations: 38.56 kB / 1.007 GB, free: 6.586 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.00566, allocations: 0 / 1.007 GB, free: 6.586 MB / 0.9636 GB Notification: Performance of matching and sorting (n=6): time 0.001122/0.006782, allocations: 408.8 kB / 1.007 GB, free: 6.152 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.227e-05/0.006814, allocations: 59.34 kB / 1.007 GB, free: 6.082 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.097e-05/0.006895, allocations: 126 kB / 1.008 GB, free: 5.945 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.264e-05/0.006908, allocations: 29.64 kB / 1.008 GB, free: 5.91 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.309e-05/0.006941, allocations: 92.09 kB / 1.008 GB, free: 5.816 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.354e-05/0.006964, allocations: 11.86 kB / 1.008 GB, free: 5.805 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.392e-05/0.007008, allocations: 41.69 kB / 1.008 GB, free: 5.758 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.721e-05/0.007085, allocations: 318.8 kB / 1.008 GB, free: 5.438 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.315e-05/0.007168, allocations: 47.91 kB / 1.008 GB, free: 5.391 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.095e-05/0.007239, allocations: 43.97 kB / 1.008 GB, free: 5.348 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000154/0.007393, allocations: 107.7 kB / 1.008 GB, free: 5.242 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.007394, allocations: 0 / 1.008 GB, free: 5.242 MB / 0.9636 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002019/0.007596, allocations: 141.6 kB / 1.008 GB, free: 5.098 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.00761, allocations: 8 kB / 1.008 GB, free: 5.09 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/0.007623, allocations: 7.984 kB / 1.008 GB, free: 5.082 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.007634, allocations: 0 / 1.008 GB, free: 5.082 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.087e-05/0.007705, allocations: 15.98 kB / 1.008 GB, free: 5.066 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.007711, allocations: 3.938 kB / 1.008 GB, free: 5.062 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.99e-05/0.007751, allocations: 8 kB / 1.008 GB, free: 5.055 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.007761, allocations: 7.984 kB / 1.008 GB, free: 5.047 MB / 0.9636 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 (8): * Single equations (assignments): 7 * 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 6.472e-05/0.007826, allocations: 105.8 kB / 1.009 GB, free: 4.934 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.041e-05/0.007836, allocations: 7.953 kB / 1.009 GB, free: 4.926 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.152e-05/0.007868, allocations: 12.44 kB / 1.009 GB, free: 4.918 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.007871, allocations: 4 kB / 1.009 GB, free: 4.914 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.007877, allocations: 7.875 kB / 1.009 GB, free: 4.906 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.00788, allocations: 0 / 1.009 GB, free: 4.906 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000426/0.008306, allocations: 307 kB / 1.009 GB, free: 4.566 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.008308, allocations: 4 kB / 1.009 GB, free: 4.562 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.204e-05/0.00838, allocations: 19.92 kB / 1.009 GB, free: 4.543 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.008383, allocations: 0 / 1.009 GB, free: 4.543 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.008394, allocations: 11.97 kB / 1.009 GB, free: 4.531 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.008397, allocations: 4 kB / 1.009 GB, free: 4.527 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.008399, allocations: 3.984 kB / 1.009 GB, free: 4.523 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002867/0.008686, allocations: 232.4 kB / 1.009 GB, free: 4.277 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.085e-05/0.008717, allocations: 15.97 kB / 1.009 GB, free: 4.262 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.004e-05/0.008737, allocations: 3.938 kB / 1.009 GB, free: 4.258 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.217e-05/0.008799, allocations: 4 kB / 1.009 GB, free: 4.254 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.817e-05/0.008817, allocations: 8.312 kB / 1.009 GB, free: 4.246 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/0.008823, allocations: 4.062 kB / 1.009 GB, free: 4.242 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.67e-05/0.00886, allocations: 105.1 kB / 1.009 GB, free: 4.141 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6.1e-08/0.00886, allocations: 0 / 1.009 GB, free: 4.141 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001767/0.009037, allocations: 31.92 kB / 1.009 GB, free: 4.109 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (m_flow_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 (6): * Single equations (assignments): 6 * 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.0001479/0.009185, allocations: 111.2 kB / 1.009 GB, free: 3.988 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002209/0.009405, allocations: 113.6 kB / 1.009 GB, free: 3.871 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.009407, allocations: 4 kB / 1.009 GB, free: 3.867 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.632e-05/0.009474, allocations: 43.97 kB / 1.01 GB, free: 3.824 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002507/0.009724, allocations: 14.41 kB / 1.01 GB, free: 3.812 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005369/0.01026, allocations: 249.5 kB / 1.01 GB, free: 3.539 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.295e-05/0.01031, allocations: 67.34 kB / 1.01 GB, free: 3.453 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.963e-05/0.01035, allocations: 8 kB / 1.01 GB, free: 3.445 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.392e-05/0.0104, allocations: 20.48 kB / 1.01 GB, free: 3.426 MB / 0.9636 GB Notification: Performance of SimCode: time 1.072e-06/0.0104, allocations: 0 / 1.01 GB, free: 3.426 MB / 0.9636 GB Notification: Performance of Templates: time 0.003599/0.014, allocations: 1.772 MB / 1.012 GB, free: 1.68 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck -abortSlowSimulation -alarm=800 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_dp_DerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck.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: 5.362855276092887]