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.002193/0.002193, allocations: 93.47 kB / 19.44 MB, free: 332 kB / 13.93 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.003454/0.003454, allocations: 169.2 kB / 22.76 MB, free: 1.66 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 1.586/1.586, allocations: 177.1 MB / 203.1 MB, free: 5.594 MB / 186.7 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 3.406/3.406, allocations: 429.5 MB / 0.6729 GB, free: 4 MB / 0.6355 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.383e-06/1.383e-06, allocations: 0 / 0.8775 GB, free: 6.602 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.486e-05/2.624e-05, allocations: 3.188 kB / 0.8775 GB, free: 6.598 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2): time 0.002933/0.002959, allocations: 1.406 MB / 0.8789 GB, free: 5.203 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001634/0.004593, allocations: 0.9176 MB / 0.8797 GB, free: 4.289 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.15e-05/0.004625, allocations: 4 kB / 0.8798 GB, free: 4.285 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.945e-05/0.004644, allocations: 4.594 kB / 0.8798 GB, free: 4.281 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.355e-05/0.004708, allocations: 9.594 kB / 0.8798 GB, free: 4.273 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007084/0.005416, allocations: 218.5 kB / 0.88 GB, free: 4.062 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001203/0.005536, allocations: 59.77 kB / 0.88 GB, free: 4.004 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.078e-05/0.005577, allocations: 4 kB / 0.88 GB, free: 4 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 6.772e-05/0.005645, allocations: 31.92 kB / 0.8801 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.8e-05/0.005713, allocations: 23.89 kB / 0.8801 GB, free: 3.945 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.738e-05/0.00573, allocations: 4 kB / 0.8801 GB, free: 3.941 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006614/0.006392, allocations: 376.4 kB / 0.8805 GB, free: 3.574 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.207e-05/0.006414, allocations: 7.922 kB / 0.8805 GB, free: 3.566 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.529e-05/0.006449, allocations: 19.98 kB / 0.8805 GB, free: 3.547 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0005313/0.00698, allocations: 308.2 kB / 0.8808 GB, free: 3.246 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.006984, allocations: 0 / 0.8808 GB, free: 3.246 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.212e-06/0.006985, allocations: 0 / 0.8808 GB, free: 3.246 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.00699, allocations: 1.062 kB / 0.8808 GB, free: 3.246 MB / 0.8386 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.0006493/0.007639, allocations: 459.2 kB / 0.8812 GB, free: 2.758 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.007684, allocations: 13.16 kB / 0.8812 GB, free: 2.746 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002619/0.007946, allocations: 28.81 kB / 0.8812 GB, free: 2.719 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001363/0.008082, allocations: 116.6 kB / 0.8814 GB, free: 2.578 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.22e-05/0.008105, allocations: 5.375 kB / 0.8814 GB, free: 2.574 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.667e-05/0.008131, allocations: 8.375 kB / 0.8814 GB, free: 2.566 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002174/0.008349, allocations: 109.3 kB / 0.8815 GB, free: 2.445 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.008361, allocations: 192 / 0.8815 GB, free: 2.445 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.008372, allocations: 384 / 0.8815 GB, free: 2.445 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.008376, allocations: 384 / 0.8815 GB, free: 2.445 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000138/0.008514, allocations: 39.84 kB / 0.8815 GB, free: 2.406 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002415/0.008756, allocations: 140.5 kB / 0.8817 GB, free: 2.234 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000237/0.008993, allocations: 75.03 kB / 0.8817 GB, free: 2.148 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.076e-05/0.009084, allocations: 35.67 kB / 0.8818 GB, free: 2.109 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.14e-05/0.009105, allocations: 4.625 kB / 0.8818 GB, free: 2.105 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.259e-05/0.009148, allocations: 33.39 kB / 0.8818 GB, free: 2.062 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 9.22e-07/0.009148, allocations: 0.5938 kB / 0.8818 GB, free: 2.062 MB / 0.8386 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.005335/0.01448, allocations: 0.9651 MB / 0.8827 GB, free: 1.039 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.433e-05/0.01454, allocations: 59.39 kB / 0.8828 GB, free: 0.9688 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001672/0.0147, allocations: 181.9 kB / 0.883 GB, free: 0.7734 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.192e-05/0.01474, allocations: 25.7 kB / 0.883 GB, free: 0.7422 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.597e-05/0.01482, allocations: 135.1 kB / 0.8831 GB, free: 0.6016 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.124e-05/0.01488, allocations: 43.58 kB / 0.8832 GB, free: 0.5586 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/0.01499, allocations: 51.34 kB / 0.8832 GB, free: 0.5 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002891/0.01528, allocations: 0.4962 MB / 0.8837 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002727/0.01555, allocations: 99.89 kB / 0.8838 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002356/0.01579, allocations: 99.95 kB / 0.8839 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004699/0.01626, allocations: 205.7 kB / 0.8841 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.01626, allocations: 0 / 0.8841 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006453/0.01691, allocations: 270.6 kB / 0.8843 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.01692, allocations: 8 kB / 0.8843 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.758e-05/0.01694, allocations: 3.984 kB / 0.8844 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.01696, allocations: 4 kB / 0.8844 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002957/0.01725, allocations: 39.84 kB / 0.8844 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.01726, allocations: 0 / 0.8844 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000179/0.01744, allocations: 11.98 kB / 0.8844 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.542e-05/0.01746, allocations: 4 kB / 0.8844 GB, free: 15.25 MB / 0.8542 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.0001436/0.01761, allocations: 160.6 kB / 0.8846 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.747e-05/0.01765, allocations: 15.94 kB / 0.8846 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.538e-05/0.0177, allocations: 8.438 kB / 0.8846 GB, free: 15.06 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.0177, allocations: 0 / 0.8846 GB, free: 15.06 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.01771, allocations: 11.94 kB / 0.8846 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.01771, allocations: 0 / 0.8846 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009572/0.01867, allocations: 465.2 kB / 0.885 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/0.01867, allocations: 4 kB / 0.885 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002834/0.01896, allocations: 31.97 kB / 0.8851 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.01896, allocations: 0 / 0.8851 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.899e-05/0.01899, allocations: 11.92 kB / 0.8851 GB, free: 14.51 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.01899, allocations: 0 / 0.8851 GB, free: 14.51 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.01899, allocations: 4 kB / 0.8851 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009116/0.01991, allocations: 443.7 kB / 0.8855 GB, free: 14.05 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.869e-05/0.01992, allocations: 11.94 kB / 0.8855 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.651e-05/0.01996, allocations: 7.938 kB / 0.8855 GB, free: 14.03 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002158/0.02018, allocations: 8 kB / 0.8855 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.328e-05/0.02022, allocations: 3.984 kB / 0.8855 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.55e-05/0.02025, allocations: 11.98 kB / 0.8856 GB, free: 14.01 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 9.272e-05/0.02034, allocations: 135.1 kB / 0.8857 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.02034, allocations: 0 / 0.8857 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003079/0.02065, allocations: 40 kB / 0.8857 GB, free: 13.84 MB / 0.8542 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.0002393/0.02089, allocations: 127.2 kB / 0.8858 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000609/0.02149, allocations: 234.3 kB / 0.8861 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.0215, allocations: 0 / 0.8861 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002481/0.02175, allocations: 103.6 kB / 0.8862 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002972/0.02204, allocations: 19.5 kB / 0.8862 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001364/0.02341, allocations: 385.8 kB / 0.8866 GB, free: 12.94 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.936e-05/0.0235, allocations: 91.44 kB / 0.8866 GB, free: 12.83 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001458/0.02364, allocations: 16.73 kB / 0.8867 GB, free: 12.81 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.62e-05/0.02374, allocations: 20.47 kB / 0.8867 GB, free: 12.79 MB / 0.8542 GB Notification: Performance of SimCode: time 5.41e-07/0.02374, allocations: 3.938 kB / 0.8867 GB, free: 12.79 MB / 0.8542 GB Notification: Performance of Templates: time 0.006217/0.02996, allocations: 2.353 MB / 0.889 GB, free: 10.49 MB / 0.8542 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 240] 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.60193101898767]