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.001875/0.001875, allocations: 85.48 kB / 19.44 MB, free: 344 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.002067/0.002067, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.552/1.552, allocations: 177.1 MB / 203.1 MB, free: 5.625 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.428/3.428, allocations: 429.5 MB / 0.6729 GB, free: 4.02 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.493e-06/1.493e-06, allocations: 0 / 0.8775 GB, free: 6.652 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.931e-05/3.08e-05, allocations: 8.5 kB / 0.8775 GB, free: 6.645 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2): time 0.002676/0.002707, allocations: 1.402 MB / 0.8788 GB, free: 5.258 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001652/0.004359, allocations: 0.9179 MB / 0.8797 GB, free: 4.344 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.789e-05/0.004397, allocations: 4 kB / 0.8797 GB, free: 4.34 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.048e-05/0.004417, allocations: 7.875 kB / 0.8798 GB, free: 4.332 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.911e-05/0.004486, allocations: 3.938 kB / 0.8798 GB, free: 4.328 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007422/0.005229, allocations: 220.8 kB / 0.88 GB, free: 4.113 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001084/0.005337, allocations: 55.72 kB / 0.88 GB, free: 4.059 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.096e-05/0.005378, allocations: 13.08 kB / 0.88 GB, free: 4.047 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 6.914e-05/0.005447, allocations: 27.98 kB / 0.8801 GB, free: 4.02 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.549e-05/0.005513, allocations: 23.89 kB / 0.8801 GB, free: 3.996 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.769e-05/0.00553, allocations: 5.062 kB / 0.8801 GB, free: 3.992 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006567/0.006187, allocations: 367.5 kB / 0.8804 GB, free: 3.633 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.535e-05/0.006212, allocations: 19.91 kB / 0.8805 GB, free: 3.613 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.402e-05/0.006246, allocations: 17 kB / 0.8805 GB, free: 3.598 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0005155/0.006762, allocations: 315.1 kB / 0.8808 GB, free: 3.289 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.006766, allocations: 0 / 0.8808 GB, free: 3.289 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.212e-06/0.006767, allocations: 0.6562 kB / 0.8808 GB, free: 3.289 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.548e-06/0.006771, allocations: 0.5938 kB / 0.8808 GB, free: 3.289 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.0006158/0.007387, allocations: 455.2 kB / 0.8812 GB, free: 2.805 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.007424, allocations: 9.406 kB / 0.8812 GB, free: 2.797 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002498/0.007674, allocations: 28.81 kB / 0.8812 GB, free: 2.77 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001331/0.007807, allocations: 108.6 kB / 0.8813 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.007825, allocations: 5.156 kB / 0.8814 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.847e-05/0.007854, allocations: 8.359 kB / 0.8814 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002019/0.008056, allocations: 110.2 kB / 0.8815 GB, free: 2.5 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.008068, allocations: 1.281 kB / 0.8815 GB, free: 2.5 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.008079, allocations: 384 / 0.8815 GB, free: 2.5 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.008083, allocations: 4.375 kB / 0.8815 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001339/0.008217, allocations: 40.5 kB / 0.8815 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004539/0.00867, allocations: 136.5 kB / 0.8816 GB, free: 2.289 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002337/0.008904, allocations: 79.59 kB / 0.8817 GB, free: 2.199 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.457e-05/0.008989, allocations: 32.83 kB / 0.8817 GB, free: 2.164 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.701e-05/0.009006, allocations: 240 / 0.8817 GB, free: 2.164 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.329e-05/0.009049, allocations: 48.8 kB / 0.8818 GB, free: 2.109 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 8.92e-07/0.00905, allocations: 0 / 0.8818 GB, free: 2.109 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.005245/0.01429, allocations: 0.9525 MB / 0.8827 GB, free: 1.098 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.929e-05/0.01434, allocations: 59.41 kB / 0.8828 GB, free: 1.027 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001519/0.0145, allocations: 177.9 kB / 0.8829 GB, free: 0.8359 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.755e-05/0.01453, allocations: 37.64 kB / 0.883 GB, free: 0.793 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.994e-05/0.01462, allocations: 127.2 kB / 0.8831 GB, free: 0.6602 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.616e-05/0.01469, allocations: 51.56 kB / 0.8832 GB, free: 0.6094 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001059/0.0148, allocations: 47.34 kB / 0.8832 GB, free: 0.5547 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002725/0.01507, allocations: 0.4923 MB / 0.8837 GB, free: 52 kB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002654/0.01533, allocations: 108 kB / 0.8838 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002471/0.01558, allocations: 113.1 kB / 0.8839 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004751/0.01606, allocations: 221.8 kB / 0.8841 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.01606, allocations: 0 / 0.8841 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006374/0.01669, allocations: 289.5 kB / 0.8844 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.01671, allocations: 4 kB / 0.8844 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.742e-05/0.01673, allocations: 4 kB / 0.8844 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.385e-05/0.01675, allocations: 3.984 kB / 0.8844 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002917/0.01704, allocations: 39.84 kB / 0.8844 GB, free: 15.28 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.01705, allocations: 0 / 0.8844 GB, free: 15.28 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001697/0.01722, allocations: 7.984 kB / 0.8844 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.201e-05/0.01724, allocations: 8 kB / 0.8844 GB, free: 15.26 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.0001616/0.0174, allocations: 164.6 kB / 0.8846 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.515e-05/0.01745, allocations: 15.95 kB / 0.8846 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.863e-05/0.01751, allocations: 8.438 kB / 0.8846 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.01751, allocations: 4 kB / 0.8846 GB, free: 15.06 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.01752, allocations: 3.938 kB / 0.8846 GB, free: 15.06 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.01752, allocations: 0 / 0.8846 GB, free: 15.06 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009225/0.01844, allocations: 465.2 kB / 0.8851 GB, free: 14.56 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.01845, allocations: 4 kB / 0.8851 GB, free: 14.56 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002778/0.01872, allocations: 31.97 kB / 0.8851 GB, free: 14.53 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.01873, allocations: 0 / 0.8851 GB, free: 14.53 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.711e-05/0.01875, allocations: 11.92 kB / 0.8851 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.613e-06/0.01876, allocations: 5.016 kB / 0.8851 GB, free: 14.51 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01876, allocations: 3.938 kB / 0.8851 GB, free: 14.51 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008735/0.01963, allocations: 440.3 kB / 0.8856 GB, free: 14.06 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.981e-05/0.01965, allocations: 11.94 kB / 0.8856 GB, free: 14.05 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.596e-05/0.01969, allocations: 7.938 kB / 0.8856 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002035/0.01989, allocations: 8.031 kB / 0.8856 GB, free: 14.03 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.644e-05/0.01994, allocations: 11.92 kB / 0.8856 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.317e-05/0.01996, allocations: 7.984 kB / 0.8856 GB, free: 14.01 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 9.426e-05/0.02006, allocations: 135.2 kB / 0.8857 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.02006, allocations: 0 / 0.8857 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002925/0.02035, allocations: 40 kB / 0.8858 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 (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.000233/0.02058, allocations: 127.1 kB / 0.8859 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005906/0.02117, allocations: 247.3 kB / 0.8861 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.02118, allocations: 4 kB / 0.8861 GB, free: 13.45 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.000247/0.02142, allocations: 91.58 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.0002851/0.02171, allocations: 21.02 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.001439/0.02315, allocations: 370.3 kB / 0.8866 GB, free: 12.95 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.145e-05/0.02324, allocations: 87.44 kB / 0.8867 GB, free: 12.84 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001542/0.02339, allocations: 24.66 kB / 0.8867 GB, free: 12.81 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.312e-05/0.02349, allocations: 24.48 kB / 0.8867 GB, free: 12.79 MB / 0.8542 GB Notification: Performance of SimCode: time 5.71e-07/0.02349, allocations: 0 / 0.8867 GB, free: 12.79 MB / 0.8542 GB Notification: Performance of Templates: time 0.006508/0.02999, allocations: 2.337 MB / 0.889 GB, free: 10.5 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","/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.628112581092864]