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.0008379/0.0008379, allocations: 80.25 kB / 20.03 MB, free: 4.492 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.0008483/0.0008483, allocations: 174.3 kB / 23.34 MB, free: 1.188 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.9228/0.9228, allocations: 177.1 MB / 203.7 MB, free: 5.711 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 1.903/1.903, allocations: 390.1 MB / 0.635 GB, free: 11.6 MB / 0.6042 GB " [Timeout remaining time 178] 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.843e-06/1.843e-06, allocations: 0 / 1.003 GB, free: 9.734 MB / 0.9167 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.617e-05/2.801e-05, allocations: 2.312 kB / 1.003 GB, free: 9.73 MB / 0.9167 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2): time 0.002035/0.002063, allocations: 1.382 MB / 1.004 GB, free: 8.34 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.001071/0.003134, allocations: 0.8684 MB / 1.005 GB, free: 7.469 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.609e-05/0.00318, allocations: 0 / 1.005 GB, free: 7.469 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 2.144e-05/0.003201, allocations: 7.938 kB / 1.005 GB, free: 7.461 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 5.883e-05/0.00326, allocations: 7.922 kB / 1.005 GB, free: 7.453 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005524/0.003812, allocations: 222.8 kB / 1.005 GB, free: 7.234 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 8.508e-05/0.003897, allocations: 59.78 kB / 1.005 GB, free: 7.176 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 4.892e-05/0.003946, allocations: 3.984 kB / 1.005 GB, free: 7.172 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 5.597e-05/0.004002, allocations: 31.91 kB / 1.005 GB, free: 7.141 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 6.277e-05/0.004065, allocations: 23.91 kB / 1.006 GB, free: 7.117 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 1.571e-05/0.004081, allocations: 4 kB / 1.006 GB, free: 7.113 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003877/0.004469, allocations: 371.5 kB / 1.006 GB, free: 6.75 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 1.968e-05/0.004488, allocations: 11.92 kB / 1.006 GB, free: 6.738 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 2.617e-05/0.004514, allocations: 12 kB / 1.006 GB, free: 6.727 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.000324/0.004838, allocations: 315 kB / 1.006 GB, free: 6.418 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.004843, allocations: 4 kB / 1.006 GB, free: 6.414 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.503e-06/0.004844, allocations: 0 / 1.006 GB, free: 6.414 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.004849, allocations: 4 kB / 1.006 GB, free: 6.41 MB / 0.9167 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.0004117/0.005261, allocations: 353.3 kB / 1.007 GB, free: 6.031 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.005308, allocations: 8.031 kB / 1.007 GB, free: 6.023 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000198/0.005506, allocations: 20.88 kB / 1.007 GB, free: 6.004 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.948e-05/0.005605, allocations: 113.7 kB / 1.007 GB, free: 5.867 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.723e-05/0.005632, allocations: 4.375 kB / 1.007 GB, free: 5.863 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.549e-05/0.005658, allocations: 8.375 kB / 1.007 GB, free: 5.855 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001735/0.005831, allocations: 113.6 kB / 1.007 GB, free: 5.727 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.005845, allocations: 4.188 kB / 1.007 GB, free: 5.723 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.005859, allocations: 4.375 kB / 1.007 GB, free: 5.719 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.005865, allocations: 384 / 1.007 GB, free: 5.719 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.548e-05/0.00596, allocations: 39.89 kB / 1.007 GB, free: 5.68 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001532/0.006113, allocations: 125.3 kB / 1.007 GB, free: 5.527 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000164/0.006277, allocations: 74.53 kB / 1.007 GB, free: 5.445 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.87e-05/0.006336, allocations: 36.78 kB / 1.007 GB, free: 5.406 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.912e-05/0.006355, allocations: 0 / 1.007 GB, free: 5.406 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.006384, allocations: 38.56 kB / 1.007 GB, free: 5.359 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=7): time 2.515e-06/0.006387, allocations: 4 kB / 1.007 GB, free: 5.355 MB / 0.9167 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.003043/0.00943, allocations: 0.9783 MB / 1.008 GB, free: 4.324 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.442e-05/0.009464, allocations: 55.41 kB / 1.008 GB, free: 4.258 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.18e-05/0.009546, allocations: 125.8 kB / 1.008 GB, free: 4.125 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.009567, allocations: 29.7 kB / 1.008 GB, free: 4.09 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.05e-05/0.009597, allocations: 84.41 kB / 1.008 GB, free: 4 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.633e-05/0.009634, allocations: 39.66 kB / 1.008 GB, free: 3.961 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.38e-05/0.009698, allocations: 45.69 kB / 1.008 GB, free: 3.91 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.113e-05/0.009779, allocations: 322.8 kB / 1.009 GB, free: 3.586 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001611/0.00994, allocations: 91.94 kB / 1.009 GB, free: 3.496 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001386/0.01008, allocations: 90.2 kB / 1.009 GB, free: 3.41 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002841/0.01036, allocations: 184.7 kB / 1.009 GB, free: 3.227 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.01036, allocations: 7.938 kB / 1.009 GB, free: 3.219 MB / 0.9167 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003603/0.01073, allocations: 255.5 kB / 1.009 GB, free: 2.965 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.01074, allocations: 4 kB / 1.009 GB, free: 2.961 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.943e-05/0.01076, allocations: 8 kB / 1.009 GB, free: 2.953 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.01078, allocations: 0 / 1.009 GB, free: 2.953 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000162/0.01094, allocations: 39.89 kB / 1.009 GB, free: 2.914 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.01094, allocations: 0 / 1.009 GB, free: 2.914 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.742e-05/0.01102, allocations: 7.984 kB / 1.009 GB, free: 2.906 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.592e-05/0.01104, allocations: 8 kB / 1.009 GB, free: 2.898 MB / 0.9167 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.168e-05/0.01113, allocations: 121.8 kB / 1.01 GB, free: 2.77 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.151e-05/0.01115, allocations: 11.94 kB / 1.01 GB, free: 2.758 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.045e-05/0.0112, allocations: 8.438 kB / 1.01 GB, free: 2.75 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.0112, allocations: 0 / 1.01 GB, free: 2.75 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.01121, allocations: 3.938 kB / 1.01 GB, free: 2.746 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.01122, allocations: 4 kB / 1.01 GB, free: 2.742 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006514/0.01187, allocations: 394.1 kB / 1.01 GB, free: 2.32 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.01187, allocations: 0 / 1.01 GB, free: 2.32 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001549/0.01203, allocations: 43.83 kB / 1.01 GB, free: 2.277 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.656e-06/0.01203, allocations: 4 kB / 1.01 GB, free: 2.273 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.844e-05/0.01205, allocations: 11.92 kB / 1.01 GB, free: 2.262 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.01205, allocations: 0 / 1.01 GB, free: 2.262 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.644e-06/0.01205, allocations: 0 / 1.01 GB, free: 2.262 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007312/0.01278, allocations: 355.4 kB / 1.01 GB, free: 1.898 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.053e-05/0.01279, allocations: 3.953 kB / 1.01 GB, free: 1.895 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.964e-05/0.01282, allocations: 20.02 kB / 1.01 GB, free: 1.875 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.01293, allocations: 4 kB / 1.01 GB, free: 1.871 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.257e-05/0.01296, allocations: 11.97 kB / 1.01 GB, free: 1.859 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/0.01297, allocations: 8 kB / 1.01 GB, free: 1.852 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.427e-05/0.01302, allocations: 95.2 kB / 1.01 GB, free: 1.758 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.01302, allocations: 3.938 kB / 1.01 GB, free: 1.754 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002117/0.01323, allocations: 39.94 kB / 1.011 GB, free: 1.715 MB / 0.9167 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.0001831/0.01341, allocations: 119.2 kB / 1.011 GB, free: 1.59 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0003921/0.0138, allocations: 205.6 kB / 1.011 GB, free: 1.383 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.01381, allocations: 0 / 1.011 GB, free: 1.383 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001322/0.01394, allocations: 75.89 kB / 1.011 GB, free: 1.309 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003004/0.01424, allocations: 17.19 kB / 1.011 GB, free: 1.293 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001017/0.01526, allocations: 388.5 kB / 1.011 GB, free: 0.8867 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.278e-05/0.01532, allocations: 79.33 kB / 1.011 GB, free: 0.7891 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 8.764e-05/0.01541, allocations: 16.73 kB / 1.011 GB, free: 0.7695 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.871e-05/0.01548, allocations: 24.48 kB / 1.011 GB, free: 0.7422 MB / 0.9167 GB Notification: Performance of SimCode: time 8.72e-07/0.01548, allocations: 0 / 1.011 GB, free: 0.7422 MB / 0.9167 GB Notification: Performance of Templates: time 0.003879/0.01936, allocations: 2.315 MB / 1.014 GB, free: 14.46 MB / 0.9323 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 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -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: 5.318546197377145]