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.0009447/0.0009447, allocations: 92.22 kB / 19.65 MB, free: 276 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.001027/0.001027, allocations: 169 kB / 23.02 MB, free: 1.547 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.055/1.055, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.118/2.118, allocations: 429.5 MB / 0.6733 GB, free: 4.039 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 2.084e-06/2.084e-06, allocations: 0 / 0.8782 GB, free: 6.297 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.285e-05/3.494e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.293 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2): time 0.002964/0.002999, allocations: 1.42 MB / 0.8796 GB, free: 4.883 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001596/0.004595, allocations: 0.9328 MB / 0.8805 GB, free: 3.953 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.922e-05/0.004644, allocations: 1 kB / 0.8805 GB, free: 3.953 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.164e-05/0.004676, allocations: 3.938 kB / 0.8805 GB, free: 3.949 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.3e-05/0.004739, allocations: 7.922 kB / 0.8805 GB, free: 3.941 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000799/0.005538, allocations: 230 kB / 0.8807 GB, free: 3.719 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001101/0.005648, allocations: 52.84 kB / 0.8808 GB, free: 3.668 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 5.349e-05/0.005702, allocations: 7.938 kB / 0.8808 GB, free: 3.66 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 6.664e-05/0.005768, allocations: 31.89 kB / 0.8808 GB, free: 3.629 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.259e-05/0.005841, allocations: 16.7 kB / 0.8808 GB, free: 3.613 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.996e-05/0.005861, allocations: 4 kB / 0.8808 GB, free: 3.609 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006232/0.006484, allocations: 381 kB / 0.8812 GB, free: 3.238 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.535e-05/0.006509, allocations: 11.94 kB / 0.8812 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.302e-05/0.006542, allocations: 11.98 kB / 0.8812 GB, free: 3.215 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0005102/0.007053, allocations: 307.4 kB / 0.8815 GB, free: 2.914 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.007057, allocations: 0.5 kB / 0.8815 GB, free: 2.914 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.512e-06/0.007059, allocations: 1.469 kB / 0.8815 GB, free: 2.914 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.007065, allocations: 0 / 0.8815 GB, free: 2.914 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.0005407/0.007605, allocations: 459.2 kB / 0.882 GB, free: 2.426 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.269e-05/0.007658, allocations: 8.031 kB / 0.882 GB, free: 2.418 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003077/0.007966, allocations: 33.36 kB / 0.882 GB, free: 2.387 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/0.008089, allocations: 117.3 kB / 0.8821 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.911e-05/0.008108, allocations: 4.375 kB / 0.8821 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.997e-05/0.008148, allocations: 9.469 kB / 0.8821 GB, free: 2.234 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000232/0.00838, allocations: 122.3 kB / 0.8822 GB, free: 2.094 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.008393, allocations: 192 / 0.8822 GB, free: 2.094 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/0.008408, allocations: 1.781 kB / 0.8822 GB, free: 2.094 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/0.008419, allocations: 4.359 kB / 0.8822 GB, free: 2.09 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.826e-05/0.008498, allocations: 27.91 kB / 0.8823 GB, free: 2.062 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001973/0.008695, allocations: 132.6 kB / 0.8824 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001795/0.008875, allocations: 74.38 kB / 0.8825 GB, free: 1.816 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.794e-05/0.008932, allocations: 31.67 kB / 0.8825 GB, free: 1.781 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.116e-05/0.008954, allocations: 0 / 0.8825 GB, free: 1.781 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/0.008986, allocations: 37.39 kB / 0.8825 GB, free: 1.734 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.008987, allocations: 4 kB / 0.8825 GB, free: 1.73 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.003881/0.01287, allocations: 0.8259 MB / 0.8833 GB, free: 0.8438 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/0.01291, allocations: 55.41 kB / 0.8834 GB, free: 0.7773 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001975/0.01311, allocations: 181.9 kB / 0.8836 GB, free: 0.582 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.37e-05/0.01315, allocations: 33.7 kB / 0.8836 GB, free: 0.543 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.044e-05/0.0132, allocations: 135.1 kB / 0.8837 GB, free: 412 kB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.465e-05/0.01324, allocations: 35.7 kB / 0.8838 GB, free: 376 kB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.543e-05/0.01332, allocations: 51.33 kB / 0.8838 GB, free: 316 kB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.01344, allocations: 496.1 kB / 0.8843 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001191/0.01356, allocations: 83.95 kB / 0.8844 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001003/0.01366, allocations: 86.03 kB / 0.8845 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002057/0.01387, allocations: 165.3 kB / 0.8846 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.01387, allocations: 4 kB / 0.8846 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002944/0.01416, allocations: 241.5 kB / 0.8848 GB, free: 15.24 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.01418, allocations: 8 kB / 0.8849 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.687e-05/0.0142, allocations: 0 / 0.8849 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.01422, allocations: 0 / 0.8849 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001972/0.01441, allocations: 43.84 kB / 0.8849 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.01442, allocations: 1.016 kB / 0.8849 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.657e-05/0.0145, allocations: 7.984 kB / 0.8849 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.469e-05/0.01451, allocations: 4 kB / 0.8849 GB, free: 15.18 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.023e-05/0.0146, allocations: 164.5 kB / 0.8851 GB, free: 15 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.867e-05/0.01463, allocations: 15.95 kB / 0.8851 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.781e-05/0.01467, allocations: 12.42 kB / 0.8851 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.01467, allocations: 0 / 0.8851 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.01467, allocations: 3.938 kB / 0.8851 GB, free: 14.97 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.01468, allocations: 0 / 0.8851 GB, free: 14.97 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004976/0.01517, allocations: 425.3 kB / 0.8855 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.01518, allocations: 0 / 0.8855 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001496/0.01533, allocations: 27.97 kB / 0.8855 GB, free: 14.49 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.01533, allocations: 4 kB / 0.8855 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.897e-05/0.01535, allocations: 11.92 kB / 0.8855 GB, free: 14.47 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.01535, allocations: 0 / 0.8855 GB, free: 14.47 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.01535, allocations: 0 / 0.8855 GB, free: 14.47 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003765/0.01573, allocations: 368.3 kB / 0.8859 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.177e-05/0.01574, allocations: 3.953 kB / 0.8859 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.381e-05/0.01576, allocations: 11.94 kB / 0.8859 GB, free: 14.08 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.598e-05/0.01586, allocations: 4 kB / 0.8859 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.73e-05/0.01589, allocations: 3.984 kB / 0.8859 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.456e-05/0.0159, allocations: 16.02 kB / 0.8859 GB, free: 14.05 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.225e-05/0.01594, allocations: 139.2 kB / 0.8861 GB, free: 13.92 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.01594, allocations: 0 / 0.8861 GB, free: 13.92 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002026/0.01615, allocations: 39.94 kB / 0.8861 GB, free: 13.88 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.0001747/0.01632, allocations: 115.2 kB / 0.8862 GB, free: 13.76 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002759/0.0166, allocations: 201.2 kB / 0.8864 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.0166, allocations: 0 / 0.8864 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 8.696e-05/0.01669, allocations: 75.64 kB / 0.8865 GB, free: 13.47 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002157/0.0169, allocations: 21.11 kB / 0.8865 GB, free: 13.45 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009787/0.01788, allocations: 370.2 kB / 0.8868 GB, free: 13.06 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.066e-05/0.01792, allocations: 63.34 kB / 0.8869 GB, free: 12.98 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 8.116e-05/0.018, allocations: 16.73 kB / 0.8869 GB, free: 12.96 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.218e-05/0.01807, allocations: 20.47 kB / 0.8869 GB, free: 12.94 MB / 0.8542 GB Notification: Performance of SimCode: time 1.113e-06/0.01807, allocations: 0 / 0.8869 GB, free: 12.94 MB / 0.8542 GB Notification: Performance of Templates: time 0.003901/0.02198, allocations: 2.342 MB / 0.8892 GB, free: 10.64 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.6882367939688265]