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.0008353/0.0008353, allocations: 76.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.0008244/0.0008244, allocations: 169.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.8904/0.8904, allocations: 177.1 MB / 203.7 MB, free: 5.586 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.797/1.797, allocations: 390.1 MB / 0.635 GB, free: 11.55 MB / 0.6042 GB " [Timeout remaining time 178] 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.914e-06/1.914e-06, allocations: 0 / 1.003 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.249e-05/2.441e-05, allocations: 2.312 kB / 1.003 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2): time 0.001728/0.001752, allocations: 1.387 MB / 1.004 GB, free: 9.402 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.000962/0.002714, allocations: 0.8684 MB / 1.005 GB, free: 8.531 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.671e-05/0.002761, allocations: 0 / 1.005 GB, free: 8.531 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.035e-05/0.002781, allocations: 3.938 kB / 1.005 GB, free: 8.527 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.121e-05/0.002833, allocations: 7.938 kB / 1.005 GB, free: 8.52 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006323/0.003465, allocations: 234.8 kB / 1.005 GB, free: 8.289 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 9.495e-05/0.00356, allocations: 51.78 kB / 1.005 GB, free: 8.238 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 5.466e-05/0.003615, allocations: 15.97 kB / 1.005 GB, free: 8.223 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 5.34e-05/0.003668, allocations: 23.92 kB / 1.006 GB, free: 8.199 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 6.773e-05/0.003736, allocations: 27.95 kB / 1.006 GB, free: 8.172 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.587e-05/0.003752, allocations: 3.938 kB / 1.006 GB, free: 8.168 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004208/0.004172, allocations: 367.5 kB / 1.006 GB, free: 7.809 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.608e-05/0.004198, allocations: 19.91 kB / 1.006 GB, free: 7.789 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.729e-05/0.004226, allocations: 11.94 kB / 1.006 GB, free: 7.777 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003459/0.004572, allocations: 307.1 kB / 1.006 GB, free: 7.477 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.004574, allocations: 7.938 kB / 1.006 GB, free: 7.469 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.533e-06/0.004576, allocations: 0 / 1.006 GB, free: 7.469 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.209e-06/0.004581, allocations: 0 / 1.006 GB, free: 7.469 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004232/0.005004, allocations: 357.3 kB / 1.007 GB, free: 7.086 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.00505, allocations: 8.031 kB / 1.007 GB, free: 7.078 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001942/0.005244, allocations: 28.86 kB / 1.007 GB, free: 7.051 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.722e-05/0.005341, allocations: 117.6 kB / 1.007 GB, free: 6.91 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.313e-05/0.005364, allocations: 4.375 kB / 1.007 GB, free: 6.906 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.305e-05/0.005387, allocations: 4.375 kB / 1.007 GB, free: 6.902 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001595/0.005547, allocations: 113.6 kB / 1.007 GB, free: 6.773 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.005556, allocations: 192 / 1.007 GB, free: 6.773 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.005568, allocations: 4.375 kB / 1.007 GB, free: 6.77 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.005573, allocations: 4.375 kB / 1.007 GB, free: 6.766 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.154e-05/0.005654, allocations: 35.91 kB / 1.007 GB, free: 6.73 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001281/0.005783, allocations: 125.3 kB / 1.007 GB, free: 6.578 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002256/0.006008, allocations: 78.47 kB / 1.007 GB, free: 6.492 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.488e-05/0.006063, allocations: 37.08 kB / 1.007 GB, free: 6.453 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.492e-05/0.006078, allocations: 0 / 1.007 GB, free: 6.453 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/0.006103, allocations: 38.56 kB / 1.007 GB, free: 6.406 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=7): time 7.91e-07/0.006104, allocations: 0 / 1.007 GB, free: 6.406 MB / 0.9636 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.00296/0.009064, allocations: 0.9716 MB / 1.008 GB, free: 5.379 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.323e-05/0.009097, allocations: 55.41 kB / 1.008 GB, free: 5.312 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.342e-05/0.00917, allocations: 117.8 kB / 1.008 GB, free: 5.188 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.009191, allocations: 33.7 kB / 1.008 GB, free: 5.148 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.484e-05/0.009226, allocations: 84.41 kB / 1.008 GB, free: 5.059 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.406e-05/0.00926, allocations: 39.64 kB / 1.008 GB, free: 5.02 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.898e-05/0.009319, allocations: 45.69 kB / 1.008 GB, free: 4.969 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.277e-05/0.009411, allocations: 322.8 kB / 1.009 GB, free: 4.645 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001505/0.009562, allocations: 87.94 kB / 1.009 GB, free: 4.559 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001315/0.009693, allocations: 83.95 kB / 1.009 GB, free: 4.477 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002688/0.009962, allocations: 186.9 kB / 1.009 GB, free: 4.293 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.009963, allocations: 0 / 1.009 GB, free: 4.293 MB / 0.9636 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000335/0.0103, allocations: 243.7 kB / 1.009 GB, free: 4.051 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.01031, allocations: 9.656 kB / 1.009 GB, free: 4.043 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.47e-05/0.01033, allocations: 4 kB / 1.009 GB, free: 4.039 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.01034, allocations: 0 / 1.009 GB, free: 4.039 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000154/0.01049, allocations: 35.91 kB / 1.009 GB, free: 4.004 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.0105, allocations: 3.984 kB / 1.009 GB, free: 4 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.53e-05/0.01057, allocations: 4 kB / 1.009 GB, free: 3.996 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.542e-05/0.01059, allocations: 11.98 kB / 1.009 GB, free: 3.984 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 (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 7.1e-05/0.01066, allocations: 121.8 kB / 1.01 GB, free: 3.855 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.597e-05/0.01068, allocations: 7.953 kB / 1.01 GB, free: 3.848 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.127e-05/0.01071, allocations: 8.438 kB / 1.01 GB, free: 3.844 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.01071, allocations: 4 kB / 1.01 GB, free: 3.84 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.01072, allocations: 3.938 kB / 1.01 GB, free: 3.836 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.01072, allocations: 3.984 kB / 1.01 GB, free: 3.832 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005223/0.01124, allocations: 390.1 kB / 1.01 GB, free: 3.414 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.01124, allocations: 4 kB / 1.01 GB, free: 3.41 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001439/0.01139, allocations: 39.91 kB / 1.01 GB, free: 3.371 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.01139, allocations: 0 / 1.01 GB, free: 3.371 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.673e-05/0.01141, allocations: 11.92 kB / 1.01 GB, free: 3.359 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.01141, allocations: 80 / 1.01 GB, free: 3.359 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.01141, allocations: 3.984 kB / 1.01 GB, free: 3.355 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005094/0.01192, allocations: 355.4 kB / 1.01 GB, free: 2.992 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 7.635e-06/0.01193, allocations: 7.984 kB / 1.01 GB, free: 2.984 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.195e-05/0.01195, allocations: 7.938 kB / 1.01 GB, free: 2.977 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.844e-05/0.01205, allocations: 19.98 kB / 1.01 GB, free: 2.957 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.92e-05/0.01208, allocations: 7.984 kB / 1.01 GB, free: 2.949 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-05/0.01209, allocations: 11.98 kB / 1.01 GB, free: 2.938 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.525e-05/0.01213, allocations: 99.97 kB / 1.01 GB, free: 2.84 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.01213, allocations: 0 / 1.01 GB, free: 2.84 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001933/0.01232, allocations: 43.94 kB / 1.01 GB, free: 2.797 MB / 0.9636 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.000138/0.01246, allocations: 115.2 kB / 1.011 GB, free: 2.672 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0003461/0.0128, allocations: 197.9 kB / 1.011 GB, free: 2.473 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.01281, allocations: 4 kB / 1.011 GB, free: 2.469 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001262/0.01293, allocations: 75.88 kB / 1.011 GB, free: 2.395 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000254/0.01319, allocations: 8 kB / 1.011 GB, free: 2.387 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008201/0.01401, allocations: 400.4 kB / 1.011 GB, free: 1.969 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.716e-05/0.01405, allocations: 79.33 kB / 1.011 GB, free: 1.871 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 8.273e-05/0.01414, allocations: 20.72 kB / 1.011 GB, free: 1.848 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.108e-05/0.0142, allocations: 20.48 kB / 1.011 GB, free: 1.828 MB / 0.9636 GB Notification: Performance of SimCode: time 5.51e-07/0.0142, allocations: 0 / 1.011 GB, free: 1.828 MB / 0.9636 GB Notification: Performance of Templates: time 0.003535/0.01773, allocations: 2.307 MB / 1.014 GB, free: 15.57 MB / 0.9792 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 -s cvode -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: 5.261049055494368]