Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_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.001508/0.001508, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001173/0.001173, allocations: 173 kB / 23.49 MB, free: 1.059 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.9444/0.9444, allocations: 177.1 MB / 203.8 MB, free: 5.652 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 2.119/2.119, allocations: 429.5 MB / 0.6736 GB, free: 4.008 MB / 0.6355 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_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp|der.m_flow.|der.m_flow_comp.",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp|der.m_flow.|der.m_flow_comp.",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 0 / 0.8782 GB, free: 6.602 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.857e-05/3.051e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.598 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2): time 0.002341/0.002371, allocations: 1.411 MB / 0.8796 GB, free: 5.195 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001229/0.0036, allocations: 0.9306 MB / 0.8805 GB, free: 4.27 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.991e-05/0.00364, allocations: 0 / 0.8805 GB, free: 4.27 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.24e-05/0.003662, allocations: 3.938 kB / 0.8805 GB, free: 4.266 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001957/0.003858, allocations: 8.984 kB / 0.8805 GB, free: 4.258 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006142/0.004472, allocations: 222 kB / 0.8807 GB, free: 4.043 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001124/0.004584, allocations: 59.72 kB / 0.8808 GB, free: 3.984 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.766e-05/0.004632, allocations: 9.578 kB / 0.8808 GB, free: 3.977 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.71e-05/0.004689, allocations: 23.98 kB / 0.8808 GB, free: 3.953 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.288e-05/0.004752, allocations: 27.89 kB / 0.8808 GB, free: 3.926 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.717e-05/0.004769, allocations: 4 kB / 0.8808 GB, free: 3.922 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005147/0.005284, allocations: 367.5 kB / 0.8812 GB, free: 3.562 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.9e-05/0.005313, allocations: 16.42 kB / 0.8812 GB, free: 3.547 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.179e-05/0.005345, allocations: 17.77 kB / 0.8812 GB, free: 3.531 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004104/0.005755, allocations: 311.4 kB / 0.8815 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.005758, allocations: 0 / 0.8815 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.332e-06/0.00576, allocations: 0 / 0.8815 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.005765, allocations: 0 / 0.8815 GB, free: 3.227 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.0004551/0.00622, allocations: 452.6 kB / 0.882 GB, free: 2.746 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.006266, allocations: 12.03 kB / 0.882 GB, free: 2.734 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002409/0.006506, allocations: 28.81 kB / 0.882 GB, free: 2.707 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001007/0.006607, allocations: 113.7 kB / 0.8821 GB, free: 2.57 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.006625, allocations: 4.375 kB / 0.8821 GB, free: 2.566 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.599e-05/0.006651, allocations: 8.375 kB / 0.8821 GB, free: 2.559 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001809/0.006832, allocations: 123.9 kB / 0.8822 GB, free: 2.418 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.006845, allocations: 192 / 0.8822 GB, free: 2.418 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.006858, allocations: 4.375 kB / 0.8822 GB, free: 2.414 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.006866, allocations: 384 / 0.8822 GB, free: 2.414 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.249e-05/0.006929, allocations: 30.47 kB / 0.8823 GB, free: 2.387 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001664/0.007095, allocations: 136.6 kB / 0.8824 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001359/0.007231, allocations: 70.97 kB / 0.8825 GB, free: 2.137 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.632e-05/0.007278, allocations: 31.61 kB / 0.8825 GB, free: 2.102 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.492e-05/0.007292, allocations: 4 kB / 0.8825 GB, free: 2.098 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.007321, allocations: 39.36 kB / 0.8825 GB, free: 2.051 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.007322, allocations: 0 / 0.8825 GB, free: 2.051 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: dp Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=11): time 0.003361/0.01068, allocations: 0.8259 MB / 0.8833 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.593e-05/0.01072, allocations: 51.41 kB / 0.8834 GB, free: 1.102 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.01083, allocations: 189.9 kB / 0.8836 GB, free: 0.8984 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.152e-05/0.01085, allocations: 29.7 kB / 0.8836 GB, free: 0.8633 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.192e-05/0.0109, allocations: 143.1 kB / 0.8837 GB, free: 0.7148 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.535e-05/0.01095, allocations: 39.69 kB / 0.8838 GB, free: 0.6758 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.105e-05/0.01103, allocations: 43.34 kB / 0.8838 GB, free: 0.625 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.01115, allocations: 0.4922 MB / 0.8843 GB, free: 124 kB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000124/0.01127, allocations: 87.95 kB / 0.8844 GB, free: 36 kB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001354/0.01141, allocations: 87.3 kB / 0.8845 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002423/0.01165, allocations: 165.7 kB / 0.8846 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.01165, allocations: 0 / 0.8846 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003718/0.01202, allocations: 242.2 kB / 0.8849 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.01204, allocations: 4 kB / 0.8849 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.738e-05/0.01206, allocations: 4 kB / 0.8849 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.01208, allocations: 0 / 0.8849 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001867/0.01226, allocations: 35.91 kB / 0.8849 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.231e-06/0.01227, allocations: 0 / 0.8849 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.877e-05/0.01236, allocations: 7.984 kB / 0.8849 GB, free: 15.49 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.834e-05/0.01238, allocations: 4 kB / 0.8849 GB, free: 15.49 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 9.789e-05/0.01247, allocations: 168.5 kB / 0.8851 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.7e-05/0.01251, allocations: 15.95 kB / 0.8851 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.945e-05/0.01255, allocations: 12.44 kB / 0.8851 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.01255, allocations: 0 / 0.8851 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.01256, allocations: 3.938 kB / 0.8851 GB, free: 15.28 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.01256, allocations: 0 / 0.8851 GB, free: 15.28 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005578/0.01312, allocations: 425.2 kB / 0.8855 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.01312, allocations: 0 / 0.8855 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000174/0.0133, allocations: 31.91 kB / 0.8855 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.0133, allocations: 0 / 0.8855 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.074e-05/0.01332, allocations: 7.922 kB / 0.8855 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.01332, allocations: 8 kB / 0.8856 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.01332, allocations: 0 / 0.8856 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000455/0.01378, allocations: 355.8 kB / 0.8859 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.045e-05/0.01379, allocations: 7.953 kB / 0.8859 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.942e-05/0.01382, allocations: 11.88 kB / 0.8859 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001249/0.01394, allocations: 4 kB / 0.8859 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.135e-05/0.01399, allocations: 15.91 kB / 0.8859 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.737e-05/0.014, allocations: 8 kB / 0.8859 GB, free: 14.37 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.949e-05/0.01405, allocations: 131.2 kB / 0.8861 GB, free: 14.24 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01405, allocations: 4.031 kB / 0.8861 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002958/0.01435, allocations: 43.94 kB / 0.8861 GB, free: 14.19 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_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 (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.0002001/0.01455, allocations: 115.2 kB / 0.8862 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003481/0.0149, allocations: 198.4 kB / 0.8864 GB, free: 13.87 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.0149, allocations: 4 kB / 0.8864 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001158/0.01502, allocations: 68.64 kB / 0.8865 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002865/0.0153, allocations: 15.98 kB / 0.8865 GB, free: 13.78 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001173/0.01648, allocations: 362.2 kB / 0.8868 GB, free: 13.39 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.636e-05/0.01652, allocations: 67.34 kB / 0.8869 GB, free: 13.3 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001106/0.01663, allocations: 20.72 kB / 0.8869 GB, free: 13.28 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.542e-05/0.01672, allocations: 20.48 kB / 0.8869 GB, free: 13.26 MB / 0.8542 GB Notification: Performance of SimCode: time 1.193e-06/0.01672, allocations: 3.938 kB / 0.8869 GB, free: 13.26 MB / 0.8542 GB Notification: Performance of Templates: time 0.004896/0.02162, allocations: 2.341 MB / 0.8892 GB, free: 10.96 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_dp_DerivativeCheck2.csv","",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.441540988860652]