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.002094/0.002094, allocations: 84.73 kB / 19.43 MB, free: 360 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.002602/0.002602, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.51/1.51, allocations: 177.1 MB / 203.1 MB, free: 5.629 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.243/3.243, allocations: 429.6 MB / 0.673 GB, free: 3.898 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_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.593e-06/1.593e-06, allocations: 0 / 0.8776 GB, free: 6.492 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.661e-05/2.82e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.488 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2): time 0.0028/0.002828, allocations: 1.385 MB / 0.879 GB, free: 5.117 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001607/0.004435, allocations: 0.8702 MB / 0.8798 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.461e-05/0.00447, allocations: 0 / 0.8798 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.88e-05/0.004498, allocations: 3.938 kB / 0.8798 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.966e-05/0.004558, allocations: 7.922 kB / 0.8798 GB, free: 4.238 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007982/0.005356, allocations: 229.9 kB / 0.88 GB, free: 4.016 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001111/0.005467, allocations: 59.77 kB / 0.8801 GB, free: 3.957 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.577e-05/0.005503, allocations: 0.5938 kB / 0.8801 GB, free: 3.957 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 7.094e-05/0.005574, allocations: 39.59 kB / 0.8801 GB, free: 3.922 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.432e-05/0.005638, allocations: 15.97 kB / 0.8802 GB, free: 3.906 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.005657, allocations: 4 kB / 0.8802 GB, free: 3.902 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007039/0.006361, allocations: 371.5 kB / 0.8805 GB, free: 3.539 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.526e-05/0.006386, allocations: 11.92 kB / 0.8805 GB, free: 3.527 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.788e-05/0.006424, allocations: 15.98 kB / 0.8805 GB, free: 3.512 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0005581/0.006982, allocations: 311.1 kB / 0.8808 GB, free: 3.207 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.006985, allocations: 0 / 0.8808 GB, free: 3.207 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.02e-07/0.006986, allocations: 0 / 0.8808 GB, free: 3.207 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.00699, allocations: 3.938 kB / 0.8808 GB, free: 3.203 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.0005749/0.007565, allocations: 359 kB / 0.8812 GB, free: 2.82 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.007604, allocations: 8.031 kB / 0.8812 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003249/0.007929, allocations: 32.8 kB / 0.8812 GB, free: 2.781 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.008067, allocations: 109.8 kB / 0.8813 GB, free: 2.648 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.267e-05/0.008089, allocations: 9.25 kB / 0.8813 GB, free: 2.641 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.219e-05/0.008121, allocations: 4.375 kB / 0.8813 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002401/0.008362, allocations: 114.8 kB / 0.8815 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.008375, allocations: 192 / 0.8815 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.008388, allocations: 384 / 0.8815 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.008393, allocations: 1.969 kB / 0.8815 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001572/0.00855, allocations: 39.91 kB / 0.8815 GB, free: 2.469 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002182/0.008768, allocations: 125.2 kB / 0.8816 GB, free: 2.316 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002773/0.009046, allocations: 84.97 kB / 0.8817 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/0.009149, allocations: 32.84 kB / 0.8817 GB, free: 2.191 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.133e-05/0.00917, allocations: 3.984 kB / 0.8817 GB, free: 2.188 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.2e-05/0.009212, allocations: 34.56 kB / 0.8818 GB, free: 2.145 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.283e-06/0.009214, allocations: 0 / 0.8818 GB, free: 2.145 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.006074/0.01529, allocations: 0.9876 MB / 0.8827 GB, free: 1.109 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.111e-05/0.01534, allocations: 51.41 kB / 0.8828 GB, free: 1.047 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/0.01548, allocations: 121.8 kB / 0.8829 GB, free: 0.918 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.915e-05/0.01552, allocations: 29.7 kB / 0.8829 GB, free: 0.8828 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.59e-05/0.01558, allocations: 84.42 kB / 0.883 GB, free: 0.793 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.4e-05/0.01566, allocations: 47.62 kB / 0.883 GB, free: 0.7461 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003659/0.01602, allocations: 37.69 kB / 0.8831 GB, free: 0.7031 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001896/0.01621, allocations: 322.8 kB / 0.8834 GB, free: 388 kB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002738/0.01649, allocations: 87.95 kB / 0.8835 GB, free: 300 kB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002784/0.01676, allocations: 99.06 kB / 0.8836 GB, free: 204 kB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005282/0.01729, allocations: 186.8 kB / 0.8837 GB, free: 16 kB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.01729, allocations: 0 / 0.8837 GB, free: 16 kB / 0.8386 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007258/0.01802, allocations: 257.5 kB / 0.884 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.01804, allocations: 4 kB / 0.884 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.721e-05/0.01806, allocations: 4 kB / 0.884 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.01808, allocations: 7.938 kB / 0.884 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003307/0.01841, allocations: 35.91 kB / 0.884 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.01841, allocations: 0 / 0.884 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002926/0.01871, allocations: 11.98 kB / 0.8841 GB, free: 15.69 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.142e-05/0.01875, allocations: 7.984 kB / 0.8841 GB, free: 15.68 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.000136/0.01888, allocations: 117.8 kB / 0.8842 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.749e-05/0.01893, allocations: 7.953 kB / 0.8842 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.944e-05/0.01898, allocations: 16.44 kB / 0.8842 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.01898, allocations: 0 / 0.8842 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.01899, allocations: 7.938 kB / 0.8842 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.01899, allocations: 0 / 0.8842 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009518/0.01995, allocations: 398 kB / 0.8846 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/0.01995, allocations: 8 kB / 0.8846 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002973/0.02025, allocations: 27.97 kB / 0.8846 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.02025, allocations: 0 / 0.8846 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.702e-05/0.02028, allocations: 11.92 kB / 0.8846 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.02028, allocations: 320 / 0.8846 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.02028, allocations: 3.938 kB / 0.8846 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009721/0.02126, allocations: 375.2 kB / 0.885 GB, free: 14.67 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.654e-05/0.02127, allocations: 7.984 kB / 0.885 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.591e-05/0.02131, allocations: 7.938 kB / 0.885 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002548/0.02156, allocations: 7.984 kB / 0.885 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.323e-05/0.02161, allocations: 7.984 kB / 0.885 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.783e-05/0.02163, allocations: 11.98 kB / 0.885 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 7.651e-05/0.02171, allocations: 92.09 kB / 0.8851 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.02171, allocations: 4 kB / 0.8851 GB, free: 14.53 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003201/0.02203, allocations: 36 kB / 0.8852 GB, free: 14.5 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.0002739/0.0223, allocations: 123 kB / 0.8853 GB, free: 14.37 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0006447/0.02295, allocations: 205.8 kB / 0.8855 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.02295, allocations: 0 / 0.8855 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002572/0.02321, allocations: 79.88 kB / 0.8855 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000403/0.02361, allocations: 21.2 kB / 0.8856 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001688/0.0253, allocations: 388.6 kB / 0.8859 GB, free: 13.66 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000103/0.0254, allocations: 87.44 kB / 0.886 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001559/0.02556, allocations: 20.72 kB / 0.886 GB, free: 13.53 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001055/0.02566, allocations: 20.48 kB / 0.8861 GB, free: 13.51 MB / 0.8542 GB Notification: Performance of SimCode: time 7.21e-07/0.02567, allocations: 0 / 0.8861 GB, free: 13.51 MB / 0.8542 GB Notification: Performance of Templates: time 0.00629/0.03195, allocations: 2.31 MB / 0.8883 GB, free: 11.24 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_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.349715038086288]