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.0007791/0.0007791, allocations: 80.25 kB / 20.04 MB, free: 4.484 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.0008419/0.0008419, allocations: 173.9 kB / 23.35 MB, free: 1.176 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.8732/0.8732, allocations: 177.2 MB / 203.7 MB, free: 5.695 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.749/1.749, 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_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.503e-06/1.503e-06, allocations: 0 / 1.003 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.901e-05/2.051e-05, allocations: 6.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.00156/0.001581, allocations: 1.364 MB / 1.004 GB, free: 9.449 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.000922/0.002503, allocations: 0.8645 MB / 1.005 GB, free: 8.582 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.835e-05/0.002541, allocations: 0 / 1.005 GB, free: 8.582 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.818e-05/0.002559, allocations: 3.938 kB / 1.005 GB, free: 8.578 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.768e-05/0.002607, allocations: 7.875 kB / 1.005 GB, free: 8.57 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004772/0.003084, allocations: 226.8 kB / 1.005 GB, free: 8.348 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.862e-05/0.003153, allocations: 43.78 kB / 1.005 GB, free: 8.305 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.145e-05/0.003194, allocations: 11.98 kB / 1.005 GB, free: 8.293 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 5.409e-05/0.003248, allocations: 27.97 kB / 1.005 GB, free: 8.266 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.752e-05/0.003296, allocations: 19.92 kB / 1.006 GB, free: 8.246 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.184e-05/0.003308, allocations: 0 / 1.006 GB, free: 8.246 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003588/0.003666, allocations: 375.4 kB / 1.006 GB, free: 7.879 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.848e-05/0.003685, allocations: 15.92 kB / 1.006 GB, free: 7.863 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.059e-05/0.003705, allocations: 7.984 kB / 1.006 GB, free: 7.855 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002928/0.003998, allocations: 299.1 kB / 1.006 GB, free: 7.562 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.724e-06/0.004, allocations: 0 / 1.006 GB, free: 7.562 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.353e-06/0.004001, allocations: 0 / 1.006 GB, free: 7.562 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.527e-06/0.004005, allocations: 0 / 1.006 GB, free: 7.562 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.0003632/0.004368, allocations: 353.3 kB / 1.007 GB, free: 7.184 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.004403, allocations: 12.03 kB / 1.007 GB, free: 7.172 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001679/0.004571, allocations: 20.91 kB / 1.007 GB, free: 7.152 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.395e-05/0.004655, allocations: 117.7 kB / 1.007 GB, free: 7.012 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.069e-05/0.004676, allocations: 384 / 1.007 GB, free: 7.012 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.828e-05/0.004694, allocations: 4.375 kB / 1.007 GB, free: 7.008 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001314/0.004825, allocations: 75.94 kB / 1.007 GB, free: 6.922 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.004833, allocations: 4.172 kB / 1.007 GB, free: 6.918 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.004844, allocations: 4.375 kB / 1.007 GB, free: 6.914 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.004849, allocations: 384 / 1.007 GB, free: 6.914 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.441e-05/0.004923, allocations: 23.92 kB / 1.007 GB, free: 6.891 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001256/0.005049, allocations: 121.3 kB / 1.007 GB, free: 6.742 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002143/0.005263, allocations: 66.52 kB / 1.007 GB, free: 6.668 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.845e-05/0.005312, allocations: 20.94 kB / 1.007 GB, free: 6.645 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.428e-05/0.005326, allocations: 7.984 kB / 1.007 GB, free: 6.637 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.782e-05/0.005344, allocations: 30.56 kB / 1.007 GB, free: 6.598 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.005345, allocations: 0 / 1.007 GB, free: 6.598 MB / 0.9636 GB Notification: Performance of matching and sorting (n=6): time 0.001126/0.006471, allocations: 416.8 kB / 1.007 GB, free: 6.156 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.245e-05/0.006493, allocations: 51.41 kB / 1.007 GB, free: 6.094 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.867e-05/0.006562, allocations: 133.6 kB / 1.008 GB, free: 5.953 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.006575, allocations: 29.7 kB / 1.008 GB, free: 5.918 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.619e-05/0.006601, allocations: 84.14 kB / 1.008 GB, free: 5.832 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.368e-05/0.006625, allocations: 27.81 kB / 1.008 GB, free: 5.805 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.109e-05/0.006666, allocations: 29.69 kB / 1.008 GB, free: 5.77 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001941/0.00686, allocations: 322.8 kB / 1.008 GB, free: 5.445 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.087e-05/0.006951, allocations: 47.97 kB / 1.008 GB, free: 5.398 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.402e-05/0.007025, allocations: 43.97 kB / 1.008 GB, free: 5.355 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001545/0.00718, allocations: 99.44 kB / 1.008 GB, free: 5.258 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.007181, allocations: 0 / 1.008 GB, free: 5.258 MB / 0.9636 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002058/0.007386, allocations: 149.5 kB / 1.008 GB, free: 5.105 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.0074, allocations: 8 kB / 1.008 GB, free: 5.098 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.007411, allocations: 3.984 kB / 1.008 GB, free: 5.094 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.007423, allocations: 0 / 1.008 GB, free: 5.094 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.384e-05/0.007497, allocations: 19.98 kB / 1.008 GB, free: 5.074 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.007504, allocations: 7.938 kB / 1.008 GB, free: 5.066 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.025e-05/0.007544, allocations: 0 / 1.008 GB, free: 5.066 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.007554, allocations: 7.984 kB / 1.008 GB, free: 5.059 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 5.678e-05/0.007611, allocations: 113.8 kB / 1.009 GB, free: 4.938 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.054e-05/0.007622, allocations: 7.953 kB / 1.009 GB, free: 4.93 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.869e-05/0.00765, allocations: 8.438 kB / 1.009 GB, free: 4.926 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.007653, allocations: 0 / 1.009 GB, free: 4.926 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.01e-07/0.007653, allocations: 0 / 1.009 GB, free: 4.926 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 4.631e-05/0.0077, allocations: 19.94 kB / 1.009 GB, free: 4.906 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.406e-05/0.007714, allocations: 4 kB / 1.009 GB, free: 4.902 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.755e-05/0.007761, allocations: 7.984 kB / 1.009 GB, free: 4.895 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.681e-05/0.007778, allocations: 3.984 kB / 1.009 GB, free: 4.891 MB / 0.9636 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002377/0.008016, allocations: 192.8 kB / 1.009 GB, free: 4.695 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002998/0.008316, allocations: 318.6 kB / 1.009 GB, free: 4.367 MB / 0.9636 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.234e-05/0.008388, allocations: 32 kB / 1.009 GB, free: 4.336 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.411e-05/0.008422, allocations: 95.2 kB / 1.009 GB, free: 4.242 MB / 0.9636 GB Notification: Performance of Backend: time 3.6e-07/0.008422, allocations: 0 / 1.009 GB, free: 4.242 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0004996/0.008922, allocations: 271.5 kB / 1.009 GB, free: 3.961 MB / 0.9636 GB Notification: Performance of SimCode: time 0.0004408/0.009363, allocations: 0.6276 MB / 1.01 GB, free: 3.285 MB / 0.9636 GB Notification: Performance of Templates: time 0.003923/0.01329, allocations: 3.372 MB / 1.013 GB, free: 15.94 MB / 0.9792 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 -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: 4.850050828419626]