Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_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.0007808/0.0007808, 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.001186/0.001186, allocations: 173.9 kB / 23.35 MB, free: 1.18 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.8524/0.8524, allocations: 177.1 MB / 203.7 MB, free: 5.707 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.719/1.719, 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_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 1.003 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.476e-05/1.64e-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_m_flow_DerivativeCheck): time 0.001482/0.001498, allocations: 1.375 MB / 1.004 GB, free: 9.434 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008162/0.002314, allocations: 0.8606 MB / 1.005 GB, free: 8.57 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.836e-05/0.002353, allocations: 4 kB / 1.005 GB, free: 8.566 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.646e-05/0.002369, allocations: 3.984 kB / 1.005 GB, free: 8.562 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.181e-05/0.002411, allocations: 15.86 kB / 1.005 GB, free: 8.547 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004699/0.002881, allocations: 210.9 kB / 1.005 GB, free: 8.34 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.973e-05/0.00295, allocations: 51.72 kB / 1.005 GB, free: 8.289 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.004e-05/0.002991, allocations: 15.98 kB / 1.005 GB, free: 8.273 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 5.165e-05/0.003042, allocations: 23.97 kB / 1.005 GB, free: 8.25 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.622e-05/0.003088, allocations: 15.92 kB / 1.006 GB, free: 8.234 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.129e-05/0.0031, allocations: 0 / 1.006 GB, free: 8.234 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003696/0.003469, allocations: 371.5 kB / 1.006 GB, free: 7.871 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.85e-05/0.003488, allocations: 15.92 kB / 1.006 GB, free: 7.855 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.835e-05/0.003506, allocations: 8 kB / 1.006 GB, free: 7.848 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002855/0.003792, allocations: 307 kB / 1.006 GB, free: 7.547 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.003793, allocations: 0 / 1.006 GB, free: 7.547 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.82e-07/0.003794, allocations: 0 / 1.006 GB, free: 7.547 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.065e-06/0.003797, allocations: 0 / 1.006 GB, free: 7.547 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.0003342/0.004132, allocations: 357.3 kB / 1.007 GB, free: 7.164 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.247e-05/0.004164, allocations: 8.031 kB / 1.007 GB, free: 7.156 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001588/0.004323, allocations: 20.91 kB / 1.007 GB, free: 7.137 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.36e-05/0.004396, allocations: 109.8 kB / 1.007 GB, free: 7.004 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/0.004415, allocations: 384 / 1.007 GB, free: 7.004 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.745e-05/0.004433, allocations: 8.375 kB / 1.007 GB, free: 6.996 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001164/0.004549, allocations: 71.94 kB / 1.007 GB, free: 6.914 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.004556, allocations: 4.125 kB / 1.007 GB, free: 6.91 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.216e-06/0.004564, allocations: 4.375 kB / 1.007 GB, free: 6.906 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.004568, allocations: 384 / 1.007 GB, free: 6.906 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.149e-05/0.00464, allocations: 31.91 kB / 1.007 GB, free: 6.875 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001113/0.004751, allocations: 121.3 kB / 1.007 GB, free: 6.727 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001945/0.004946, allocations: 62.53 kB / 1.007 GB, free: 6.656 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.506e-05/0.004991, allocations: 24.94 kB / 1.007 GB, free: 6.629 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.315e-05/0.005004, allocations: 3.984 kB / 1.007 GB, free: 6.625 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.883e-05/0.005023, allocations: 42.5 kB / 1.007 GB, free: 6.574 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.005024, allocations: 0 / 1.007 GB, free: 6.574 MB / 0.9636 GB Notification: Performance of matching and sorting (n=6): time 0.001085/0.006108, allocations: 400.9 kB / 1.007 GB, free: 6.148 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.081e-05/0.006129, allocations: 51.41 kB / 1.007 GB, free: 6.086 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.818e-05/0.006197, allocations: 129.9 kB / 1.008 GB, free: 5.945 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.006211, allocations: 37.7 kB / 1.008 GB, free: 5.902 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.346e-05/0.006245, allocations: 84.09 kB / 1.008 GB, free: 5.816 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.468e-05/0.006269, allocations: 27.83 kB / 1.008 GB, free: 5.789 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.899e-05/0.006308, allocations: 33.64 kB / 1.008 GB, free: 5.75 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.813e-05/0.006377, allocations: 318.8 kB / 1.008 GB, free: 5.43 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.339e-05/0.00646, allocations: 47.91 kB / 1.008 GB, free: 5.383 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.323e-05/0.006533, allocations: 43.98 kB / 1.008 GB, free: 5.34 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001522/0.006685, allocations: 103.8 kB / 1.008 GB, free: 5.238 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.006686, allocations: 4 kB / 1.008 GB, free: 5.234 MB / 0.9636 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002002/0.006886, allocations: 137.6 kB / 1.008 GB, free: 5.094 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.006897, allocations: 8 kB / 1.008 GB, free: 5.086 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.006907, allocations: 0 / 1.008 GB, free: 5.086 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.006919, allocations: 4 kB / 1.008 GB, free: 5.082 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.8e-05/0.006987, allocations: 15.98 kB / 1.008 GB, free: 5.066 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.006993, allocations: 3.938 kB / 1.008 GB, free: 5.062 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.253e-05/0.007035, allocations: 7.984 kB / 1.008 GB, free: 5.055 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.007042, allocations: 0 / 1.008 GB, free: 5.055 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.636e-05/0.007099, allocations: 121.8 kB / 1.009 GB, free: 4.926 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.07e-05/0.007109, allocations: 7.953 kB / 1.009 GB, free: 4.918 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.91e-05/0.007139, allocations: 12.42 kB / 1.009 GB, free: 4.91 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.007141, allocations: 0 / 1.009 GB, free: 4.91 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-07/0.007141, allocations: 0 / 1.009 GB, free: 4.91 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 5.092e-05/0.007192, allocations: 15.88 kB / 1.009 GB, free: 4.895 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.34e-05/0.007206, allocations: 0 / 1.009 GB, free: 4.895 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.746e-05/0.007253, allocations: 8 kB / 1.009 GB, free: 4.887 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.787e-05/0.007271, allocations: 7.984 kB / 1.009 GB, free: 4.879 MB / 0.9636 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000232/0.007503, allocations: 180.9 kB / 1.009 GB, free: 4.695 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003012/0.007804, allocations: 322.6 kB / 1.009 GB, free: 4.363 MB / 0.9636 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.053e-05/0.007875, allocations: 28.2 kB / 1.009 GB, free: 4.336 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.398e-05/0.007909, allocations: 98.77 kB / 1.009 GB, free: 4.242 MB / 0.9636 GB Notification: Performance of Backend: time 2.4e-07/0.007909, allocations: 0 / 1.009 GB, free: 4.242 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0005065/0.008416, allocations: 280.6 kB / 1.009 GB, free: 3.953 MB / 0.9636 GB Notification: Performance of SimCode: time 0.0004336/0.008849, allocations: 0.6391 MB / 1.01 GB, free: 3.266 MB / 0.9636 GB Notification: Performance of Templates: time 0.00405/0.0129, allocations: 3.353 MB / 1.013 GB, free: 15.96 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_m_flow_DerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_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.793576224707067]